Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Fri, 5 Jul 2024 07:43:37 +0000 (10:43 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 5 Jul 2024 07:43:37 +0000 (10:43 +0300)
commit8e2189f0e9b7c15cf30a46c9ca0f35bb1efed73f
tree067237b569be7738c4472be6cd2b20050f79e3af
parent91dbfd95f1f3c8e97869f0daaec8f2eb5010775c
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