From: divverent Date: Wed, 10 Dec 2008 16:50:31 +0000 (+0000) Subject: build fix for Debian's i586-mingw32msvc X-Git-Tag: svn-r421~279 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f43944e444ee64ff961d4424a91978f50ee126b;p=xonotic%2Fnetradiant.git build fix for Debian's i586-mingw32msvc git-svn-id: svn://svn.icculus.org/netradiant/trunk@141 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/libs/radiant_jpeglib.h b/libs/radiant_jpeglib.h index b54792fe..dfa0d387 100644 --- a/libs/radiant_jpeglib.h +++ b/libs/radiant_jpeglib.h @@ -25,14 +25,6 @@ extern "C" #include #include -#ifndef boolean -#ifdef __cplusplus -#define boolean bool -#else -typedef int boolean; -#endif -#endif - #endif #ifdef __MACOS__ @@ -44,6 +36,14 @@ typedef int boolean; #endif +#ifndef boolean +#ifdef __cplusplus +#define boolean bool +#else +#define boolean int +#endif +#endif + // rad additions // 11.29.99