Alistair Leslie-Hughes : include: Add more SQL_ defines.

Alexandre Julliard julliard at winehq.org
Wed Feb 24 15:45:41 CST 2021


Module: wine
Branch: master
Commit: aac82c622e296fff99ee5b54e8e3462054d75fd0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=aac82c622e296fff99ee5b54e8e3462054d75fd0

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Feb 24 20:30:11 2021 +1100

include: Add more SQL_ defines.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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,




More information about the wine-cvs mailing list