Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Sat, 17 Dec 2022 15:20:04 +0000 (15:20 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 17 Dec 2022 15:20:04 +0000 (15:20 +0000)
commit33b37bf529b6a573686266b72c8f9b8826a620e3
treec74fafa5731c0c53296197e30717bd92bffafa31
parent72fb746f05c0f2e9bf449d79617bd979c0152fbe
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