From bbb184aad7bf51844f3d08100f6f3176c483e6b9 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 19 Apr 2016 21:54:31 +0200 Subject: [PATCH] More macro for UNIPTR_MAX --- Sources/Engine/Base/SDL/SDLInput.cpp | 1 + Sources/Engine/Base/SDL/SDLTimer.cpp | 1 + Sources/Engine/Engine.h | 2 -- Sources/Engine/Graphics/SDL/SDLAdapter.cpp | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 Sources/Engine/Base/SDL/SDLTimer.cpp mode change 100644 => 100755 Sources/Engine/Engine.h mode change 100644 => 100755 Sources/Engine/Graphics/SDL/SDLAdapter.cpp diff --git a/Sources/Engine/Base/SDL/SDLInput.cpp b/Sources/Engine/Base/SDL/SDLInput.cpp index 0eab255..902e81a 100755 --- a/Sources/Engine/Base/SDL/SDLInput.cpp +++ b/Sources/Engine/Base/SDL/SDLInput.cpp @@ -2,6 +2,7 @@ /* rcg10072001 Moved stuff into this file. */ +#define __STDC_LIMIT_MACROS 1 #include "SDL.h" #include diff --git a/Sources/Engine/Base/SDL/SDLTimer.cpp b/Sources/Engine/Base/SDL/SDLTimer.cpp old mode 100644 new mode 100755 index 86a80bb..ab5a1b2 --- a/Sources/Engine/Base/SDL/SDLTimer.cpp +++ b/Sources/Engine/Base/SDL/SDLTimer.cpp @@ -1,6 +1,7 @@ /* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ /* rcg10072001 Moved stuff into this file. */ +#define __STDC_LIMIT_MACROS 1 #include "SDL.h" #include diff --git a/Sources/Engine/Engine.h b/Sources/Engine/Engine.h old mode 100644 new mode 100755 index 0df14e5..7f01650 --- a/Sources/Engine/Engine.h +++ b/Sources/Engine/Engine.h @@ -24,8 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc., // set this to 1 to enable checks whether somethig is deleted while iterating some array/container #define CHECKARRAYLOCKING 0 - - #include #include diff --git a/Sources/Engine/Graphics/SDL/SDLAdapter.cpp b/Sources/Engine/Graphics/SDL/SDLAdapter.cpp old mode 100644 new mode 100755 index 7f867c0..625044c --- a/Sources/Engine/Graphics/SDL/SDLAdapter.cpp +++ b/Sources/Engine/Graphics/SDL/SDLAdapter.cpp @@ -1,4 +1,5 @@ /* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +#define __STDC_LIMIT_MACROS 1 #include