don't undefine BOOL if it's already defined (closes #10167)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -78,10 +78,15 @@
|
|||||||
// defined in many other places on other systems (Motif, at least on
|
// defined in many other places on other systems (Motif, at least on
|
||||||
// OpenVMS; Cocoa and X11) so prevent the problem by defining it before
|
// OpenVMS; Cocoa and X11) so prevent the problem by defining it before
|
||||||
// including these headers
|
// including these headers
|
||||||
#define BOOL int
|
#ifndef BOOL
|
||||||
#include <sql.h>
|
#define BOOL int
|
||||||
#include <sqlext.h>
|
#include <sql.h>
|
||||||
#undef BOOL
|
#include <sqlext.h>
|
||||||
|
#undef BOOL
|
||||||
|
#else
|
||||||
|
#include <sql.h>
|
||||||
|
#include <sqlext.h>
|
||||||
|
#endif
|
||||||
#endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC
|
#endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user