mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +01:00
Assume OSX if we have defined __APPLE__ (#46)
This commit is contained in:
parent
65d8d44f0e
commit
056d77f479
|
@ -61,17 +61,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#define PLATFORM_LINUX 1
|
||||
#endif
|
||||
#elif (defined __APPLE__)
|
||||
#include "TargetConditionals.h"
|
||||
#if TARGET_OS_MAC
|
||||
#define PLATFORM_MACOSX 1
|
||||
#else
|
||||
#error "Unsupported apple platform"
|
||||
#endif
|
||||
#else
|
||||
#warning "UNKNOWN PLATFORM IDENTIFIED!!!!"
|
||||
#define PLATFORM_UNKNOWN 1
|
||||
#warning "USING PORTABLE C!!!"
|
||||
#define USE_PORTABLE_C
|
||||
#define USE_PORTABLE_C
|
||||
#endif
|
||||
|
||||
#if PLATFORM_LINUX || PLATFORM_MACOSX
|
||||
|
|
Loading…
Reference in New Issue
Block a user