Added a LOVE_ANDROID define and Android-specific code that interacts with the JNI and SDL.

This commit is contained in:
Martin Felis
2015-08-13 19:38:07 -03:00
parent 5bdea01559
commit f5778ed86e
5 changed files with 321 additions and 3 deletions
+4 -1
View File
@@ -26,7 +26,10 @@
# define LOVE_WINDOWS 1
#endif
#if defined(linux) || defined(__linux) || defined(__linux__)
# define LOVE_LINUX 1
# define LOVE_LINUX 1
#endif
#if defined(__ANDROID__)
# define LOVE_ANDROID 1
#endif
#if defined(__APPLE__)
# include <TargetConditionals.h>