]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
fix a warning
[xonotic/darkplaces.git] / sys_sdl.c
index 724eb79d663a0a4bf456521d652ca85bebe710ee..833e00d58fd9282ac8a4e150beb902135fcd5665 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -1,6 +1,9 @@
-#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
@@ -13,6 +16,8 @@
 
 #include <SDL.h>
 
+#include "quakedef.h"
+
 // =======================================================================
 // General routines
 // =======================================================================