|
@@ -376,7 +376,7 @@ main(int argc, char *argv[])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef ANDROID
|
|
|
|
|
|
+#ifdef __ANDROID__
|
|
if (SDL_NumJoysticks() > 0) {
|
|
if (SDL_NumJoysticks() > 0) {
|
|
#else
|
|
#else
|
|
if (argv[1]) {
|
|
if (argv[1]) {
|
|
@@ -385,7 +385,7 @@ main(int argc, char *argv[])
|
|
SDL_bool keepGoing = SDL_TRUE;
|
|
SDL_bool keepGoing = SDL_TRUE;
|
|
SDL_Event event;
|
|
SDL_Event event;
|
|
int device;
|
|
int device;
|
|
-#ifdef ANDROID
|
|
|
|
|
|
+#ifdef __ANDROID__
|
|
device = 0;
|
|
device = 0;
|
|
#else
|
|
#else
|
|
device = atoi(argv[1]);
|
|
device = atoi(argv[1]);
|