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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user