mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +01:00
Swap PLATFORM_* macros for standard ones in ecc
This simplifies the standalone CMakeLists.txt file arriving in the next commit. _WIN32 is defined by MVSC and the MinGW toolchain for all relevant Windows versions. We don't need to explicitly check for UNIX because it's the only non-Windows case we care about.
This commit is contained in:
parent
6087022b9c
commit
bd68934e32
|
@ -15,7 +15,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
|
||||
/* rcg10042001 */
|
||||
#ifdef PLATFORM_WIN32
|
||||
#ifdef _WIN32
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
|
||||
|
|
|
@ -21,11 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <stdarg.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef PLATFORM_WIN32
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_UNIX
|
||||
#else
|
||||
#include <errno.h>
|
||||
#include <sys/param.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user