Mac OS X deprecation cleanup: maybe this SDK test is better...?
--HG-- branch : SDL-1.2
This commit is contained in:
parent
a922a452ac
commit
a57a1e7023
1 changed files with 2 additions and 5 deletions
|
@ -117,12 +117,9 @@ VideoBootStrap QZ_bootstrap = {
|
||||||
|
|
||||||
/* Disable compiler warnings we can't avoid. */
|
/* Disable compiler warnings we can't avoid. */
|
||||||
#if (defined(__GNUC__) && (__GNUC__ >= 4))
|
#if (defined(__GNUC__) && (__GNUC__ >= 4))
|
||||||
# if (MAC_OS_X_VERSION_MIN_REQUIRED < 1060)
|
# if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1070)
|
||||||
/* use ==, not >=, so we see future warnings. */
|
|
||||||
# if (MAC_OS_X_VERSION_MAX_ALLOWED == 1070)
|
|
||||||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline BOOL IS_LION_OR_LATER(_THIS)
|
static inline BOOL IS_LION_OR_LATER(_THIS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue