Kaydet (Commit) 03bee2a7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Workaround for <odbc/sqltypes.h> ULONG and BOOL screwup

üst 7e857dc7
......@@ -30,6 +30,16 @@
#include "precompiled_dbaccess.hxx"
#include "odbcconfig.hxx"
// Include odbc/sqltypes.h specifically and early to handle its nasty
// re-definitions of BOOL and typedef of ULONG that clash horribly
// with the solar.h stuff (which itself already clashes with <windows.h>).
#define ULONG ODBC_ULONG
#include <odbc/sqltypes.h>
#undef ULONG
#undef BOOL
#include <rtl/bootstrap.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment