Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Tue, 14 Jan 2020 15:04:18 +0000 (15:04 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 14 Jan 2020 15:04:18 +0000 (15:04 +0000)
commit04040d720ffa0b55c868e46437470f1f66ebbd72
tree18fdff208fcbef2b57cdbd13aa8b586fa0814d88
parent6c183b0efca3679664084c7342a748f34d519461
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