diff --git a/include/wx/db.h b/include/wx/db.h index d8bc4acf84..47d18caea6 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -78,10 +78,15 @@ // defined in many other places on other systems (Motif, at least on // OpenVMS; Cocoa and X11) so prevent the problem by defining it before // including these headers - #define BOOL int - #include - #include - #undef BOOL + #ifndef BOOL + #define BOOL int + #include + #include + #undef BOOL + #else + #include + #include + #endif #endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC } #endif