Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Wed, 24 Nov 2021 19:27:08 +0000 (19:27 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 24 Nov 2021 19:27:08 +0000 (19:27 +0000)
commitb8f8eb0e1a2363f1c5cc5c016bd7d2b6e27e6b2b
treec6ccbaae06b0643ec8547fe1a179cb474e9ca244
parentf75ff67bdda0f5f408b7c1512d5acaf17ddd3127
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