Skip to content

Commit

Permalink
Mac OS X deprecation cleanup: maybe this SDK test is better...?
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 14, 2011
1 parent 27e852b commit 4696c4d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/video/quartz/SDL_QuartzVideo.m
Expand Up @@ -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

Expand Down

0 comments on commit 4696c4d

Please sign in to comment.