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 dfa0d38..e0a7c1d 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