fix a warning in mingw
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 14 Jul 2010 10:11:05 +0000 (10:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 14 Jul 2010 10:11:05 +0000 (10:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10317 d7cf8633-e32d-0410-b094-e92efae38249

sys_sdl.c

index 3c83d79..af4777b 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -1,8 +1,10 @@
 #include "quakedef.h"
 
 #ifdef WIN32
+#ifdef _MSC_VER
 #pragma comment(lib, "sdl.lib")
 #pragma comment(lib, "sdlmain.lib")
+#endif
 #include <io.h>
 #include "conio.h"
 #else