]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 3c83d7939edaf40cca41e6a1ee5aa08e7fda3e45..af4777b40fe3c244dd1c3a8a21f401567b2f7f7e 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