Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Mon, 25 Apr 2022 11:00:32 +0000 (12:00 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 25 Apr 2022 11:00:32 +0000 (12:00 +0100)
commit76fd5f87a7ac3b7648ce509d1e7be9bc8115e3c4
tree60c70531dfed7c6779830076f37f0db1b918dba6
parenta16cfd9bd31d277e5797a8fe56aeb277f829fce9
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