Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Fri, 11 Dec 2020 08:32:37 +0000 (08:32 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 11 Dec 2020 08:32:37 +0000 (08:32 +0000)
commit568e6425fb74e7a5f58e62e73ebf215fe842a4c7
tree0a5c780d6f4aff7d36345fac751ea84847b8730b
parent1826d19a787374a99a299936b3d52f77fead8f9d
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