Use FC_PATH_MAX instead of PATH_MAX

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/131
This commit is contained in:
Akira TAGOH 2018-11-06 16:33:03 +09:00
parent 6dde9b5be3
commit 648e0cf3d5
1 changed files with 1 additions and 1 deletions

View File

@ -2233,7 +2233,7 @@ FcConfigRealFilename (FcConfig *config,
if (n) if (n)
{ {
FcChar8 buf[PATH_MAX]; FcChar8 buf[FC_PATH_MAX];
ssize_t len; ssize_t len;
if (sysroot) if (sysroot)