]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
BIH building and recursion no longer directly links leaf nodes into the
[xonotic/darkplaces.git] / sys_sdl.c
index 3c83d7939edaf40cca41e6a1ee5aa08e7fda3e45..833e00d58fd9282ac8a4e150beb902135fcd5665 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -1,8 +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
@@ -15,6 +16,8 @@
 
 #include <SDL.h>
 
+#include "quakedef.h"
+
 // =======================================================================
 // General routines
 // =======================================================================