From f565d81af740f34cc14fd3c70bf93abf6d8bb23a Mon Sep 17 00:00:00 2001 From: Gabriel Jacobo Date: Sat, 10 May 2014 15:57:09 -0300 Subject: [PATCH] A few more ANDROID for __ANDROID__ replacements --- test/controllermap.c | 4 ++-- test/testjoystick.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/controllermap.c b/test/controllermap.c index d93f9570a..a4f251744 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 3e90e98d8..2dc965da2 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]);