A few more ANDROID for __ANDROID__ replacements

This commit is contained in:
Gabriel Jacobo 2014-05-10 15:57:09 -03:00
parent 548a0ee7b8
commit f565d81af7
2 changed files with 4 additions and 4 deletions

View File

@ -376,7 +376,7 @@ main(int argc, char *argv[])
}
}
#ifdef ANDROID
#ifdef __ANDROID__
if (SDL_NumJoysticks() > 0) {
#else
if (argv[1]) {
@ -385,7 +385,7 @@ main(int argc, char *argv[])
SDL_bool keepGoing = SDL_TRUE;
SDL_Event event;
int device;
#ifdef ANDROID
#ifdef __ANDROID__
device = 0;
#else
device = atoi(argv[1]);

View File

@ -243,7 +243,7 @@ main(int argc, char *argv[])
}
}
#ifdef ANDROID
#ifdef __ANDROID__
if (SDL_NumJoysticks() > 0) {
#else
if (argv[1]) {
@ -252,7 +252,7 @@ main(int argc, char *argv[])
SDL_bool keepGoing = SDL_TRUE;
SDL_Event event;
int device;
#ifdef ANDROID
#ifdef __ANDROID__
device = 0;
#else
device = atoi(argv[1]);