summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/odbc/debian_qsql_odbc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/drivers/odbc/debian_qsql_odbc.h')
-rw-r--r--src/sql/drivers/odbc/debian_qsql_odbc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sql/drivers/odbc/debian_qsql_odbc.h b/src/sql/drivers/odbc/debian_qsql_odbc.h
new file mode 100644
index 000000000..4b91f475c
--- /dev/null
+++ b/src/sql/drivers/odbc/debian_qsql_odbc.h
@@ -0,0 +1,10 @@
+#ifdef UNICODE
+typedef SQLWCHAR SQLTCHAR;
+#else
+typedef SQLCHAR SQLTCHAR;
+#endif
+
+#define SQL_WCHAR (-8)
+#define SQL_WVARCHAR (-9)
+#define SQL_WLONGVARCHAR (-10)
+#define SQL_C_WCHAR SQL_WCHAR