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

View File

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