Skip to content
Permalink
Browse files

Mac OS X deprecation cleanup: maybe this SDK test is better...?

  • Loading branch information
icculus committed Sep 14, 2011
1 parent 27e852b commit 4696c4da29749d67a71a89d4e1dae326f4ca335a
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/video/quartz/SDL_QuartzVideo.m
@@ -117,11 +117,8 @@ static int QZ_SetColors (_THIS, int first_color,

/* 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

0 comments on commit 4696c4d

Please sign in to comment.