Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Thu, 9 Jan 2025 11:39:01 +0000 (14:39 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 9 Jan 2025 11:39:01 +0000 (14:39 +0300)
commit4f6c4fa75c4197e70409e7bee67854af3660f8fb
tree2c6aa9ff881a49cda950457b444457bf450e7ddc
parent62e1b59af92f2b244055be636c04407e7f8f0744
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