mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Mac: only do LOVE_LEGENDARY_LIBSTDCXX_HACK when the minimum required version is OS 10.5 (resolves issue #789)
This commit is contained in:
+4
-1
@@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
# define LOVE_MACOSX 1
|
# define LOVE_MACOSX 1
|
||||||
|
# include <AvailabilityMacros.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Endianness.
|
// Endianness.
|
||||||
@@ -71,7 +72,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(LOVE_MACOSX)
|
#if defined(LOVE_MACOSX)
|
||||||
# define LOVE_LEGENDARY_LIBSTDCXX_HACK
|
# if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
|
||||||
|
# define LOVE_LEGENDARY_LIBSTDCXX_HACK
|
||||||
|
# endif
|
||||||
# define LOVE_LEGENDARY_APP_ARGV_HACK
|
# define LOVE_LEGENDARY_APP_ARGV_HACK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user