diff options
author | Bill King <bill.king@nokia.com> | 2010-03-02 05:20:10 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2010-03-02 05:20:10 (GMT) |
commit | c55a99965d8c08d5f924d49db4fe4aa49df80961 (patch) | |
tree | 3b0ed50990e1ff721aab302c3cab7f5792cc69e1 /src/plugins/sqldrivers | |
parent | 704b948a190a1b5dbf4e1c87fb1c633b91b1d51c (diff) | |
download | Qt-c55a99965d8c08d5f924d49db4fe4aa49df80961.zip Qt-c55a99965d8c08d5f924d49db4fe4aa49df80961.tar.gz Qt-c55a99965d8c08d5f924d49db4fe4aa49df80961.tar.bz2 |
Fixes: ODBC Driver expects 16bit when system is 32bit
Fixed ODBC to use SQLTCHAR type and not assume that wchar's are 2
bytes wide.
Task-number: QTBUG-6928
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/plugins/sqldrivers')
-rw-r--r-- | src/plugins/sqldrivers/odbc/odbc.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/sqldrivers/odbc/odbc.pro b/src/plugins/sqldrivers/odbc/odbc.pro index 3de8ab2..2bf85f1 100644 --- a/src/plugins/sqldrivers/odbc/odbc.pro +++ b/src/plugins/sqldrivers/odbc/odbc.pro @@ -8,6 +8,7 @@ unix { !contains( LIBS, .*odbc.* ) { LIBS *= $$QT_LFLAGS_ODBC } + DEFINES += UNICODE } win32 { |