Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Wed, 24 Jun 2020 09:10:47 +0000 (10:10 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 24 Jun 2020 09:10:47 +0000 (10:10 +0100)
commit61f263049cf35ed6f3dea0b9d8994a3b203847c9
treed534c7196bf0c6b01be08cb7312eef486f3b1a59
parent4006c3239fe1037f520162741309caaacdc981de
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