From 70996a417fe8872b813315cc50f47fe3bdf1c475 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Fri, 8 Nov 2013 01:50:26 -0400 Subject: [PATCH] Mac: only do LOVE_LEGENDARY_LIBSTDCXX_HACK when the minimum required version is OS 10.5 (resolves issue #789) --- src/common/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/config.h b/src/common/config.h index 75e0cc840..237cfbc8f 100644 --- a/src/common/config.h +++ b/src/common/config.h @@ -30,6 +30,7 @@ #endif #if defined(__APPLE__) # define LOVE_MACOSX 1 +# include #endif // Endianness. @@ -71,7 +72,9 @@ #endif #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 #endif