From: Chris Elliott Date: Fri, 2 May 2003 11:13:07 +0000 (+0000) Subject: fix for digitalmars header X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e7e793efd3b6fcd80f68b6ad4b1ce26884034dd4 fix for digitalmars header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/imagjpeg.cpp b/src/common/imagjpeg.cpp index d1588229f9..ccc48fe7e9 100644 --- a/src/common/imagjpeg.cpp +++ b/src/common/imagjpeg.cpp @@ -33,7 +33,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(__WATCOMC__) && __WATCOMC__ < 1200)) +#if defined(__WXMSW__) && (defined(__MWERKS__) || (defined(__WATCOMC__) && __WATCOMC__ < 1200)) || (defined(__DIGITALMARS__)) #define HAVE_BOOLEAN #include #endif