mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-03-31 11:20:19 +02: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…
x
Reference in New Issue
Block a user