Blame SOURCES/qt-x11-free-3.3.8-odbc.patch

106311
diff -up qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp
106311
--- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig	2009-02-24 11:32:27.000000000 +0100
106311
+++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp	2009-02-24 11:33:43.000000000 +0100
106311
@@ -57,13 +57,13 @@
106311
 #endif
106311
 
106311
 // newer platform SDKs use SQLLEN instead of SQLINTEGER
106311
-#ifdef SQLLEN
106311
+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
106311
 # define QSQLLEN SQLLEN
106311
 #else
106311
 # define QSQLLEN SQLINTEGER
106311
 #endif
106311
 
106311
-#ifdef SQLULEN
106311
+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
106311
 # define QSQLULEN SQLULEN
106311
 #else
106311
 # define QSQLULEN SQLUINTEGER