Nedd __STDC_LIMIT_MACROS for *_MAX constant to be defined

This commit is contained in:
ptitSeb 2016-04-19 07:30:43 +02:00
parent b9bb24e608
commit 4b47c278bb

1
Sources/Engine/Base/Types.h Normal file → Executable file
View File

@ -70,6 +70,7 @@ typedef unsigned int UINT;
#else
// AFAIK there were versions of MSVC where UINTPTR_MAX was incorrect,
// so I use different code for Windows above
#define __STDC_LIMIT_MACROS 1
#include <stdint.h> // UINTPTR_MAX
#ifdef UINTPTR_MAX
#if UINTPTR_MAX == 0xffffffffuL