Skip to content

Commit

Permalink
Added additional platform check for __ANDROID__.
Browse files Browse the repository at this point in the history
The macro ANDROID was deprecated with "android-ndk-1.6_r1".
  • Loading branch information
philippwiesemann committed Feb 2, 2014
1 parent 58edac3 commit 9ee68e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_platform.h
Expand Up @@ -60,7 +60,7 @@
#undef __LINUX__
#define __LINUX__ 1
#endif
#if defined(ANDROID)
#if defined(ANDROID) || defined(__ANDROID__)
#undef __ANDROID__
#undef __LINUX__ /* do we need to do this? */
#define __ANDROID__ 1
Expand Down

0 comments on commit 9ee68e8

Please sign in to comment.