diff --git a/src/const.h b/src/const.h index 216285cc..93e51270 100644 --- a/src/const.h +++ b/src/const.h @@ -42,7 +42,11 @@ #ifdef _MSC_VER #include #endif +#ifdef MAX_PATH #define PATH_MAX MAX_PATH +#else +#define PATH_MAX 4096 +#endif #endif #ifndef M_2PI