diff --git a/include/sqltypes.h b/include/sqltypes.h index 4c45de7e989..70315c271c4 100644 --- a/include/sqltypes.h +++ b/include/sqltypes.h @@ -241,9 +241,6 @@ typedef struct tagSQLGUID typedef SQLULEN BOOKMARK; -#define SQL_WCHAR (-8) -#define SQL_C_WCHAR SQL_WCHAR - #ifdef __cplusplus } #endif diff --git a/include/sqlucode.h b/include/sqlucode.h index c87348cd8b5..7e1fb677cce 100644 --- a/include/sqlucode.h +++ b/include/sqlucode.h @@ -27,6 +27,11 @@ extern "C" { #endif +#define SQL_WCHAR (-8) +#define SQL_C_WCHAR SQL_WCHAR +#define SQL_WVARCHAR (-9) +#define SQL_WLONGVARCHAR (-10) + SQLRETURN WINAPI SQLConnectW(SQLHDBC ConnectionHandle, SQLWCHAR *ServerName, SQLSMALLINT NameLength1, SQLWCHAR *UserName, SQLSMALLINT NameLength2,