Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 8 Jul 2023 07:25:33 +0000 (08:25 +0100)
commit2b76633b78dacebf8b8446539d61f780d61f540a
treebcee860a2317ba665ab07ba30383983d922b74f7
parent1b987ad14d84c9e3358c3141a3d750e93b72b24c
Locally define PATH_MAX is not available

Forwarded: no
Last-Update: 2017-11-20

The code unconditionally uses PATH_MAX, which is POSIX-optional.

This fixes the build on platforms without it, such as GNU/Hurd.

Gbp-Pq: Name path_max.diff
Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp