OpenWatcom compilation fixes (patch 665959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,11 +28,12 @@
|
||||
#include "wx/log.h"
|
||||
#include "wx/app.h"
|
||||
|
||||
// NB: Some compilers define boolean type in Windows headers (e.g. Watcom C++).
|
||||
// NB: Some compilers define boolean type in Windows headers
|
||||
// (e.g. Watcom C++, but not Open Watcom).
|
||||
// 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__))
|
||||
#if defined(__WXMSW__) && (defined(__MWERKS__) || (defined(__WATCOMC__) && __WATCOMC__ < 1200))
|
||||
#define HAVE_BOOLEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user