Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Tue, 26 Jul 2022 08:39:04 +0000 (09:39 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 26 Jul 2022 08:39:04 +0000 (09:39 +0100)
commitc8a19ac02be470000f9ab79c6d67d97f76ef9b48
treee15c7ee64aacf41120b81ab9ec044a82ea398c0d
parent0bbbd2c3d613ec9ff5eb36748ba33e326a255c05
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