Use FC_PATH_MAX instead of PATH_MAX
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/131
This commit is contained in:
parent
6dde9b5be3
commit
648e0cf3d5
|
@ -2233,7 +2233,7 @@ FcConfigRealFilename (FcConfig *config,
|
|||
|
||||
if (n)
|
||||
{
|
||||
FcChar8 buf[PATH_MAX];
|
||||
FcChar8 buf[FC_PATH_MAX];
|
||||
ssize_t len;
|
||||
|
||||
if (sysroot)
|
||||
|
|
Loading…
Reference in New Issue