|
|
// SQL headers define BOOL if it's not defined yet but BOOL is also | // SQL headers define BOOL if it's not defined yet but BOOL is also |
// 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 |
|
#if defined(BOOL) |
|
#include <sql.h> |
|
#include <sqlext.h> |
|
#else |
#define BOOL int | #define BOOL int |
#include <sql.h> | #include <sql.h> |
#include <sqlext.h> | #include <sqlext.h> |
#undef BOOL | #undef BOOL |
|
#endif |
#endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC | #endif // wxUSE_BUILTIN_IODBC/!wxUSE_BUILTIN_IODBC |
} | } |
#endif | #endif |
| |