Check the size of the boolean type used by an external jpeg lib on Windows.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-12-03 21:59:47 +00:00
parent 0ce986140a
commit 90eaf43334
5 changed files with 554 additions and 20 deletions

View File

@@ -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"