diff --git a/msvc/msvc_compat.h b/msvc/msvc_compat.h index 90ed9fe874..78a7b71724 100644 --- a/msvc/msvc_compat.h +++ b/msvc/msvc_compat.h @@ -47,6 +47,10 @@ static inline float roundf(float in) return in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f); } +#ifndef PATH_MAX +#define PATH_MAX MAX_PATH +#endif + #endif #endif