test/controllermap.c
changeset 8762 4b7d26162a2e
parent 8677 ce3c968f7340
child 8786 5e8f02536cd4
     1.1 --- a/test/controllermap.c	Mon May 05 22:21:26 2014 +0300
     1.2 +++ b/test/controllermap.c	Sat May 10 15:57:09 2014 -0300
     1.3 @@ -376,7 +376,7 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -#ifdef ANDROID
     1.8 +#ifdef __ANDROID__
     1.9      if (SDL_NumJoysticks() > 0) {
    1.10  #else
    1.11      if (argv[1]) {
    1.12 @@ -385,7 +385,7 @@
    1.13          SDL_bool keepGoing = SDL_TRUE;
    1.14          SDL_Event event;
    1.15          int device;
    1.16 -#ifdef ANDROID
    1.17 +#ifdef __ANDROID__
    1.18          device = 0;
    1.19  #else
    1.20          device = atoi(argv[1]);