summarylogtreecommitdiffstats
path: root/qt-odbc.patch
diff options
context:
space:
mode:
authorMcNoggins2015-06-11 21:33:53 -0400
committerMcNoggins2015-06-11 21:33:53 -0400
commitf3120d035feaa2abe9af8e304a55467fa06730f3 (patch)
tree457feb7c60c30638a030fa7d46aa0f34f238d945 /qt-odbc.patch
downloadaur-f3120d035feaa2abe9af8e304a55467fa06730f3.tar.gz
Initial aur4 import
Diffstat (limited to 'qt-odbc.patch')
-rw-r--r--qt-odbc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/qt-odbc.patch b/qt-odbc.patch
new file mode 100644
index 000000000000..6f21e3cf1ac1
--- /dev/null
+++ b/qt-odbc.patch
@@ -0,0 +1,19 @@
+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
+--- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-02-24 11:32:27.000000000 +0100
++++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp 2009-02-24 11:33:43.000000000 +0100
+@@ -57,13 +57,13 @@
+ #endif
+
+ // newer platform SDKs use SQLLEN instead of SQLINTEGER
+-#ifdef SQLLEN
++#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
+ # define QSQLLEN SQLLEN
+ #else
+ # define QSQLLEN SQLINTEGER
+ #endif
+
+-#ifdef SQLULEN
++#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
+ # define QSQLULEN SQLULEN
+ #else
+ # define QSQLULEN SQLUINTEGER