From 8e404444347fe0b597e4901b37402ace1f62aaec Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Wed, 2 May 2001 08:52:20 +0000 Subject: [PATCH] Compile fix for the Debian sid SDL version compile. --- libs/video/targets/vid_sgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/targets/vid_sgl.c b/libs/video/targets/vid_sgl.c index e2104ade5..241da25e9 100644 --- a/libs/video/targets/vid_sgl.c +++ b/libs/video/targets/vid_sgl.c @@ -78,7 +78,7 @@ extern void VID_Init8bitPalette (void); void VID_SDL_GammaCheck (void) { -#if SDL_MAJOR_VERSION > 1 || (SDL_MAJOR_VERSION == 1 && SDL_MINOR_VERSION > 1) +#if SDL_VERSION_ATLEAST(1, 1, 0) Uint16 redtable[256], greentable[256], bluetable[256]; #else Uint8 redtable[256], greentable[256], bluetable[256];