A few more ANDROID for __ANDROID__ replacements
authorGabriel Jacobo <gabomdq@gmail.com>
Sat, 10 May 2014 15:57:09 -0300
changeset 8762 4b7d26162a2e
parent 8761 bce4122e6e87
child 8763 a8ef3ac69e3d
A few more ANDROID for __ANDROID__ replacements
test/controllermap.c
test/testjoystick.c
--- a/test/controllermap.c	Mon May 05 22:21:26 2014 +0300
+++ b/test/controllermap.c	Sat May 10 15:57:09 2014 -0300
@@ -376,7 +376,7 @@
         }
     }
 
-#ifdef ANDROID
+#ifdef __ANDROID__
     if (SDL_NumJoysticks() > 0) {
 #else
     if (argv[1]) {
@@ -385,7 +385,7 @@
         SDL_bool keepGoing = SDL_TRUE;
         SDL_Event event;
         int device;
-#ifdef ANDROID
+#ifdef __ANDROID__
         device = 0;
 #else
         device = atoi(argv[1]);
--- a/test/testjoystick.c	Mon May 05 22:21:26 2014 +0300
+++ b/test/testjoystick.c	Sat May 10 15:57:09 2014 -0300
@@ -243,7 +243,7 @@
         }
     }
 
-#ifdef ANDROID
+#ifdef __ANDROID__
     if (SDL_NumJoysticks() > 0) {
 #else
     if (argv[1]) {
@@ -252,7 +252,7 @@
         SDL_bool keepGoing = SDL_TRUE;
         SDL_Event event;
         int device;
-#ifdef ANDROID
+#ifdef __ANDROID__
         device = 0;
 #else
         device = atoi(argv[1]);