Kaydet (Commit) 13bd3fc3 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

Don't override ODBC headers

Change-Id: I47d0a1bb2a1fd275812fc2e647402f59bbf55442
üst a46bede8
......@@ -54,8 +54,6 @@
#ifdef UNX
// Currently, we directly use the ODBC shared library from Q+E (via the supplied lib)
#ifndef ODBC_UNX
#define ODBC_UNX
#endif
......@@ -66,14 +64,8 @@
#else
#include <odbc/sqlext.h>
#endif
#undef sal_Bool // Is defined in qeodbc.h, but gets redefined by solar.h
#define SDB_ODBC_CHAR UCHAR
#define SQL_WCHAR (-8)
#define SQL_WVARCHAR (-9)
#define SQL_WLONGVARCHAR (-10)
#define SQL_C_WCHAR SQL_WCHAR
#endif // UNX
......@@ -92,11 +84,13 @@
#define SQL_C_WCHAR SQL_WCHAR
#endif
#ifndef SQL_C_TCHAR
#ifdef UNICODE
#define SQL_C_TCHAR SQL_C_WCHAR
#else
#define SQL_C_TCHAR SQL_C_CHAR
#endif
#endif
#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_ODBC_OFUNCTIONDEFS_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