From: divverent Date: Mon, 30 Mar 2009 11:56:01 +0000 (+0000) Subject: move windows.h include upwards to not confuse visual studio X-Git-Tag: svn-r421~181 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2f675b648f9b4d2fe3d2ebeeea9234fd2cb1fcec;p=xonotic%2Fnetradiant.git move windows.h include upwards to not confuse visual studio git-svn-id: svn://svn.icculus.org/netradiant/trunk@239 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/libs/radiant_jpeglib.h b/libs/radiant_jpeglib.h index dfa0d387..e0a7c1da 100644 --- a/libs/radiant_jpeglib.h +++ b/libs/radiant_jpeglib.h @@ -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