summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/odbc
diff options
context:
space:
mode:
authorminiak <milan.burda@gmail.com>2009-07-01 09:50:04 (GMT)
committerMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:51:17 (GMT)
commit5db6c3b72d3c28f55f14883767d29db3441b1b66 (patch)
tree878244715adc8344f3d6b08965dfc6c14da305d0 /src/sql/drivers/odbc
parentd4a5ed717ae08034ffbc2377321406720a37bee9 (diff)
downloadQt-5db6c3b72d3c28f55f14883767d29db3441b1b66.zip
Qt-5db6c3b72d3c28f55f14883767d29db3441b1b66.tar.gz
Qt-5db6c3b72d3c28f55f14883767d29db3441b1b66.tar.bz2
src/sql: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT support
Also remove many #ifdef UNICODE blocks Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'src/sql/drivers/odbc')
-rw-r--r--src/sql/drivers/odbc/qsql_odbc.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/sql/drivers/odbc/qsql_odbc.cpp b/src/sql/drivers/odbc/qsql_odbc.cpp
index af0c297..c48c7cd 100644
--- a/src/sql/drivers/odbc/qsql_odbc.cpp
+++ b/src/sql/drivers/odbc/qsql_odbc.cpp
@@ -1843,14 +1843,7 @@ void QODBCDriverPrivate::checkUnicode()
unicode = false;
return;
#endif
-#if defined(Q_WS_WIN)
- QT_WA(
- {},
- {
- unicode = false;
- return;
- })
-#endif
+
SQLRETURN r;
SQLUINTEGER fFunc;