Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Sat, 28 Aug 2021 17:44:39 +0000 (18:44 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 28 Aug 2021 17:44:39 +0000 (18:44 +0100)
commit90ba3b4ebbbe015119adad126aaf614f9ce75935
tree51e661610452b7ad9fb3df826c21592d8054ce3d
parent70dc46ca5a9a4994196036be5b3c15f5c185a6c0
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