Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Tue, 1 Nov 2022 18:32:28 +0000 (18:32 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 1 Nov 2022 18:32:28 +0000 (18:32 +0000)
commit5889ebda018c90be1717124d00b3ea64da5778ca
treebed53b3636521abe7770c65c4370a1d07f7b759f
parenta9a12b9de10ceacee47c2339d460ec70e54487c6
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