Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Mon, 17 Feb 2020 18:55:34 +0000 (18:55 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 17 Feb 2020 18:55:34 +0000 (18:55 +0000)
commitecce911b30b8d597df09a000a1f20f31ec53558c
tree0bec1da0584166062273fe62ea82ec15ff7b6d2f
parentb6e5ae34ab97d890c01db54d45218686cd987a9d
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