Initial iOS implementation.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-20 00:21:21 -04:00
parent 24c7539182
commit 85de3c41fb
47 changed files with 5206 additions and 2405 deletions
+7 -3
View File
@@ -29,8 +29,12 @@
# define LOVE_LINUX 1
#endif
#if defined(__APPLE__)
# define LOVE_MACOSX 1
# include <AvailabilityMacros.h>
# include <TargetConditionals.h>
# if TARGET_OS_IPHONE
# define LOVE_IOS 1
# elif TARGET_OS_MAC
# define LOVE_MACOSX 1
# endif
#endif
// Endianness.
@@ -71,7 +75,7 @@
# define NOMINMAX
#endif
#if defined(LOVE_MACOSX)
#if defined(LOVE_MACOSX) || defined(LOVE_IOS)
# define LOVE_LEGENDARY_APP_ARGV_HACK
#endif