mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +01:00
Nedd __STDC_LIMIT_MACROS for *_MAX constant to be defined
This commit is contained in:
parent
c5148824b2
commit
f5d397ebc6
1
Sources/Engine/Base/Types.h
Normal file → Executable file
1
Sources/Engine/Base/Types.h
Normal file → Executable 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user