Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Wed, 28 Oct 2020 18:52:59 +0000 (18:52 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 28 Oct 2020 18:52:59 +0000 (18:52 +0000)
commitacfabd2e61aeba9119b474d1063db1c596e6077b
tree79c5b3fcf90a97dfa1be1b6e2f354daae9c97171
parent25a936664e8f0449ea53c8d2c9890ec99ebc98c2
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