From aac82c622e296fff99ee5b54e8e3462054d75fd0 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 24 Feb 2021 20:30:11 +1100 Subject: [PATCH] include: Add more SQL_ defines. Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Alexandre Julliard --- include/sqltypes.h | 3 --- include/sqlucode.h | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) 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,