]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
build fix for Debian's i586-mingw32msvc
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 10 Dec 2008 16:50:31 +0000 (16:50 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 10 Dec 2008 16:50:31 +0000 (16:50 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@141 61c419a2-8eb2-4b30-bcec-8cead039b335

libs/radiant_jpeglib.h

index b54792fe874fc201a6a32b66de39956dd02e82d0..dfa0d3870282923becd17dccf2233e7a89d74ff1 100644 (file)
@@ -25,14 +25,6 @@ extern "C"
 #include <stdio.h>
 #include <stdlib.h>
 
-#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