Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Sat, 1 Jun 2024 14:07:16 +0000 (17:07 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 1 Jun 2024 14:07:16 +0000 (17:07 +0300)
commit6f4af3815436841531212b34d1156c928d22e50c
tree26a40b96f0dce8b41ec919b46376b227b915442c
parentae7542ce97e6dc01eca9e987f77747354e945b48
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