Browse Source

A few more ANDROID for __ANDROID__ replacements

Gabriel Jacobo 11 years ago
parent
commit
f565d81af7
2 changed files with 4 additions and 4 deletions
  1. 2 2
      test/controllermap.c
  2. 2 2
      test/testjoystick.c

+ 2 - 2
test/controllermap.c

@@ -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]);

+ 2 - 2
test/testjoystick.c

@@ -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]);