const.h: default value for PATH_MAX

Hurd has no PATH_MAX value, so the build for Debian hurd failed:
https://buildd.debian.org/status/fetch.php?pkg=grafx2&arch=hurd-i386&ver=2.5%2Bgit20181014-2&stamp=1544121801&raw=0
This commit is contained in:
Thomas Bernard 2018-12-08 15:41:19 +01:00
parent 49b7d1017e
commit caca361377
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -42,7 +42,11 @@
#ifdef _MSC_VER #ifdef _MSC_VER
#include <windows.h> #include <windows.h>
#endif #endif
#ifdef MAX_PATH
#define PATH_MAX MAX_PATH #define PATH_MAX MAX_PATH
#else
#define PATH_MAX 4096
#endif
#endif #endif
#ifndef M_2PI #ifndef M_2PI