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