Commit f565d81af740f34cc14fd3c70bf93abf6d8bb23a

Gabriel Jacobo 2014-05-10T15:57:09

A few more ANDROID for __ANDROID__ replacements

diff --git a/test/controllermap.c b/test/controllermap.c
index d93f957..a4f2517 100644
--- a/test/controllermap.c
+++ b/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]);
diff --git a/test/testjoystick.c b/test/testjoystick.c
index 3e90e98..2dc965d 100644
--- a/test/testjoystick.c
+++ b/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]);