From a57a1e70230a2f231cb7d7513a268b34f21326f0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 14 Sep 2011 03:23:35 -0400 Subject: [PATCH] Mac OS X deprecation cleanup: maybe this SDK test is better...? --HG-- branch : SDL-1.2 --- src/video/quartz/SDL_QuartzVideo.m | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/video/quartz/SDL_QuartzVideo.m b/src/video/quartz/SDL_QuartzVideo.m index a29bef96f..6d3d07a42 100644 --- a/src/video/quartz/SDL_QuartzVideo.m +++ b/src/video/quartz/SDL_QuartzVideo.m @@ -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