mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Assume OSX if we have defined __APPLE__ (#46)
This commit is contained in:
parent
65d8d44f0e
commit
056d77f479
|
@ -61,12 +61,7 @@ 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user