Replace ANDROID with __ANDROID__ (#4909)
__ANDROID__ is always set by the toolchain and less likely to cause conflicts than ANDROID. This change also removes the -DANDROID flag we set ourselves in our toolchain CMake files since we don't need it anymore.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#if defined(__EMSCRIPTEN__) || defined(ANDROID) || defined(IOS)
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__) || defined(IOS)
|
||||
#define USE_FILESYSTEM 0
|
||||
#else
|
||||
#define USE_FILESYSTEM 1
|
||||
|
||||
Reference in New Issue
Block a user