Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Mon, 4 Jan 2021 18:09:41 +0000 (18:09 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 4 Jan 2021 18:09:41 +0000 (18:09 +0000)
commit1dd4bd49512648ece54c87976114cec30f8f6168
tree8997d31a48daffa96b6ea72b7527dee6ef3aedef
parentd4c3286988fd4a498f2e625f0c2f5ecb679bf39b
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