mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Mac OS X deprecation cleanup: maybe this SDK test is better...?
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -117,11 +117,8 @@ VideoBootStrap QZ_bootstrap = {
|
||||
|
||||
/* Disable compiler warnings we can't avoid. */
|
||||
#if (defined(__GNUC__) && (__GNUC__ >= 4))
|
||||
# if (MAC_OS_X_VERSION_MIN_REQUIRED < 1060)
|
||||
/* use ==, not >=, so we see future warnings. */
|
||||
# if (MAC_OS_X_VERSION_MAX_ALLOWED == 1070)
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
# endif
|
||||
# if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1070)
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user