__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:
parent
006006c460
commit
873297a269
5 changed files with 7 additions and 7 deletions
|
@ -93,7 +93,7 @@ typedef struct SDL_RWops
|
|||
Uint32 type;
|
||||
union
|
||||
{
|
||||
#if defined(ANDROID)
|
||||
#if defined(__ANDROID__)
|
||||
struct
|
||||
{
|
||||
void *fileNameRef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue