Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 25 Oct 2024 09:39:48 +0000 (12:39 +0300)
commit27f0b73efdb34802c39fb61e1e2a4996a15f52d9
treec7e044752edd8d4f10076ab911c5cf179c8fe253
parentb3dcf9c65756d9e331ea90ed858d5255009f153e
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