diff --git a/msvc/msvc_compat.h b/msvc/msvc_compat.h index f32d62de04..a8432834a5 100644 --- a/msvc/msvc_compat.h +++ b/msvc/msvc_compat.h @@ -57,6 +57,10 @@ typedef int ssize_t; #define PATH_MAX _MAX_PATH #endif +#ifndef SIZE_MAX +#define SIZE_MAX _UI32_MAX +#endif + #endif #endif