Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Tue, 4 Aug 2020 13:04:24 +0000 (14:04 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Tue, 4 Aug 2020 13:04:24 +0000 (14:04 +0100)
commita97355dde65faf86492f98b2304cc78f45fac2fc
tree722f6ff4e6d22b36d28fe413242248e233669698
parentd874cabf182130cb309bddf9014cddc8fa58546e
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