From 6a292c37f1b26af5f5c774b8b7491bcbf491d894 Mon Sep 17 00:00:00 2001
From: johns <>
Date: Mon, 26 Jun 2000 14:03:26 +0000
Subject: [PATCH] CPP didn't understand my code :/

---
 src/stratagus/interface.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/stratagus/interface.cpp b/src/stratagus/interface.cpp
index c328e34d4..d243d5a0c 100644
--- a/src/stratagus/interface.cpp
+++ b/src/stratagus/interface.cpp
@@ -196,7 +196,8 @@ local int CommandKey(int key)
 
 	case 'F':			// toggle fullscreen
 #ifdef USE_SDL
-#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL)>=1008
+//#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL)>=1008
+#if (SDL_MAJOR_VERSION*1000+SDL_MINOR_VERSION+100+SDL_PATCHLEVEL)>=1008
 	    {
 	    #include <SDL/SDL.h>
 	    // FIXME: move to system api part!