From: Michael Wetherell Date: Mon, 4 Sep 2006 16:49:32 +0000 (+0000) Subject: Compile fix for Wine. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a8bdb4e9964b4ee401cae293a44ddbef87be73e2 Compile fix for Wine. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/imagjpeg.cpp b/src/common/imagjpeg.cpp index 31e069e53a..2b9ba5d6d2 100644 --- a/src/common/imagjpeg.cpp +++ b/src/common/imagjpeg.cpp @@ -31,7 +31,7 @@ // This causes a conflict with jmorecfg.h header from libjpeg, so we have // to make sure libjpeg won't try to define boolean itself. This is done by // defining HAVE_BOOLEAN. -#if defined(__WXMSW__) && (defined(__MWERKS__) || defined(__DIGITALMARS__)) +#if defined(__WXMSW__) && (defined(__MWERKS__) || defined(__DIGITALMARS__) || defined(__WINE__)) #define HAVE_BOOLEAN #include "wx/msw/wrapwin.h" #endif