(Win32) Define SIZE_MAX if not defined already

This commit is contained in:
twinaphex 2014-06-25 03:35:59 +02:00
parent 42b2423a9c
commit 128c20a437

View File

@ -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