]> git.saurik.com Git - wxWidgets.git/blobdiff - src/tiff/tif_jpeg.c
Check the size of the boolean type used by an external jpeg lib on Windows.
[wxWidgets.git] / src / tiff / tif_jpeg.c
index 2942823dbc4761b184b776e11ecc1a15259448e5..3ee97b90d7b91b4ee0c5225045f721a54e1bbc13 100644 (file)
@@ -59,14 +59,11 @@ int TIFFFillTile(TIFF*, ttile_t);
 
    http://bugzilla.remotesensing.org/show_bug.cgi?id=188
 */
-#if defined wxHACK_BOOLEAN || defined __RPCNDR_H__ || defined __WINE_RPCNDR_H
+#ifdef wxHACK_BOOLEAN
+    #include "wx/defs.h"
+    #define XMD_H
     #define HAVE_BOOLEAN
-
-    #ifdef wxHACK_BOOLEAN
-        #define boolean wxHACK_BOOLEAN
-    #else
-        #define boolean int
-    #endif
+    #define boolean wxHACK_BOOLEAN
 #endif
 
 #include "jpeglib.h"