Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Thu, 12 Mar 2020 13:11:29 +0000 (13:11 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 12 Mar 2020 13:11:29 +0000 (13:11 +0000)
commit80b3e3cdb0e9d6331254c75b9f309f6e4b225f33
tree913a0354f25e062032bc297e7068c2be8aca0f45
parent828584b9de240e02c901fee35e78754f2c335a7b
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