mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 14:07:50 +00:00
__ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
This commit is contained in:
@@ -305,7 +305,7 @@ SDL_StreamDeinit(SDL_AudioStreamer * stream)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(ANDROID)
|
||||
#if defined(__ANDROID__)
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user