Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A few more ANDROID for __ANDROID__ replacements
  • Loading branch information
gabomdq committed May 10, 2014
1 parent 548a0ee commit f565d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/controllermap.c
Expand Up @@ -376,7 +376,7 @@ main(int argc, char *argv[])
}
}

#ifdef ANDROID
#ifdef __ANDROID__
if (SDL_NumJoysticks() > 0) {
#else
if (argv[1]) {
Expand All @@ -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]);
Expand Down
4 changes: 2 additions & 2 deletions test/testjoystick.c
Expand Up @@ -243,7 +243,7 @@ main(int argc, char *argv[])
}
}

#ifdef ANDROID
#ifdef __ANDROID__
if (SDL_NumJoysticks() > 0) {
#else
if (argv[1]) {
Expand All @@ -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]);
Expand Down

0 comments on commit f565d81

Please sign in to comment.