X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4cc2d0919408f8248516f768032944a55824a12..342a2719e0659ff621ad57111e1d81fd8332b1eb:/src/common/imagjpeg.cpp?ds=sidebyside diff --git a/src/common/imagjpeg.cpp b/src/common/imagjpeg.cpp index 86f864b753..c6326116c5 100644 --- a/src/common/imagjpeg.cpp +++ b/src/common/imagjpeg.cpp @@ -32,14 +32,9 @@ // This hack is only necessary for an external jpeg library, the builtin one // usually used on Windows doesn't use the type boolean, so always works. // -#if defined wxHACK_BOOLEAN || defined __RPCNDR_H__ || defined __WINE_RPCNDR_H +#ifdef wxHACK_BOOLEAN #define HAVE_BOOLEAN - - #ifdef wxHACK_BOOLEAN - #define boolean wxHACK_BOOLEAN - #else - #define boolean int - #endif + #define boolean wxHACK_BOOLEAN #endif extern "C"