mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Nedd __STDC_LIMIT_MACROS for *_MAX constant to be defined
This commit is contained in:
parent
b9bb24e608
commit
4b47c278bb
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
|
#else
|
||||||
// AFAIK there were versions of MSVC where UINTPTR_MAX was incorrect,
|
// AFAIK there were versions of MSVC where UINTPTR_MAX was incorrect,
|
||||||
// so I use different code for Windows above
|
// so I use different code for Windows above
|
||||||
|
#define __STDC_LIMIT_MACROS 1
|
||||||
#include <stdint.h> // UINTPTR_MAX
|
#include <stdint.h> // UINTPTR_MAX
|
||||||
#ifdef UINTPTR_MAX
|
#ifdef UINTPTR_MAX
|
||||||
#if UINTPTR_MAX == 0xffffffffuL
|
#if UINTPTR_MAX == 0xffffffffuL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user