diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-02-23 10:54:23 +0100 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-02-23 10:54:23 +0100 |
commit | 283b6815586a87e458732534bc3c9c76b38ba49f (patch) | |
tree | 4f540dfcea87b6505e6b0eff07d1b31ed50b6591 /src/sql/drivers/odbc | |
parent | 7d6f139c0bad17c84aa05b84450abb567a5b5458 (diff) | |
download | qt4-tools-283b6815586a87e458732534bc3c9c76b38ba49f.tar.gz |
improve sql support for mingw64
Diffstat (limited to 'src/sql/drivers/odbc')
-rw-r--r-- | src/sql/drivers/odbc/qsql_odbc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/drivers/odbc/qsql_odbc.cpp b/src/sql/drivers/odbc/qsql_odbc.cpp index fab3ab3c2b..9f7d267c18 100644 --- a/src/sql/drivers/odbc/qsql_odbc.cpp +++ b/src/sql/drivers/odbc/qsql_odbc.cpp @@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE #define ODBC_CHECK_DRIVER // newer platform SDKs use SQLLEN instead of SQLINTEGER -#if defined(WIN32) && (_MSC_VER < 1300) +#if defined(WIN32) && (_MSC_VER < 1300) && !defined(__MINGW64_VERSION_MAJOR) # define QSQLLEN SQLINTEGER # define QSQLULEN SQLUINTEGER #else |