Skip to content
Permalink
Browse files

Added additional platform check for __ANDROID__.

The macro ANDROID was deprecated with "android-ndk-1.6_r1".
  • Loading branch information
philippwiesemann committed Feb 2, 2014
1 parent 58edac3 commit 9ee68e8f8d2290ec4a5c921d4758e91dce84cdce
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/SDL_platform.h
@@ -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

0 comments on commit 9ee68e8

Please sign in to comment.