From 2f675b648f9b4d2fe3d2ebeeea9234fd2cb1fcec Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 30 Mar 2009 11:56:01 +0000 Subject: [PATCH] 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 --- libs/radiant_jpeglib.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.2