]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
move windows.h include upwards to not confuse visual studio
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 30 Mar 2009 11:56:01 +0000 (11:56 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 30 Mar 2009 11:56:01 +0000 (11:56 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@239 61c419a2-8eb2-4b30-bcec-8cead039b335

libs/radiant_jpeglib.h

index dfa0d3870282923becd17dccf2233e7a89d74ff1..e0a7c1daa59852b1fe9a70d574f59f0faff4fa57 100644 (file)
@@ -27,6 +27,11 @@ extern "C"
 
 #endif
 
+#ifdef _WIN32
+#include "windows.h"
+#include "stdio.h"
+#endif
+
 #ifdef __MACOS__
 
 // JDC: stuff to make mac version compile
@@ -48,10 +53,6 @@ extern "C"
 // 11.29.99
 
 //#include "cmdlib.h"
-#ifdef _WIN32
-#include "windows.h"
-#include "stdio.h"
-#endif
 
 #ifndef INT32
 #define        INT32   int