Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 21 May 2024 16:02:42 +0000 (19:02 +0300)
commit0e765478619cdaa7b29f1b19c5b3d604af14b456
treeab04e89ed4a948cda76f47d5a51d90f6428baddc
parent1b2ce9cceec01298faddc2e0742dea1014d898d2
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