summaryrefslogtreecommitdiffstats
path: root/redhat/tqt3/tqt3-3.4.0-odbc.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-02-13 22:56:37 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-02-13 22:56:37 +0100
commit14dfc7ec02c0f331342d8becac217b781b5feadf (patch)
tree11e36a7fbc9408fcd91d045f58892300d37a8b47 /redhat/tqt3/tqt3-3.4.0-odbc.patch
parente52e723d608adb3227f17cc07ca39e0a84002f89 (diff)
downloadtde-packaging-14dfc7ec02c0f331342d8becac217b781b5feadf.tar.gz
tde-packaging-14dfc7ec02c0f331342d8becac217b781b5feadf.zip
[RHEL/Fedora] add TQT3 for future R14
Diffstat (limited to 'redhat/tqt3/tqt3-3.4.0-odbc.patch')
-rw-r--r--redhat/tqt3/tqt3-3.4.0-odbc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/redhat/tqt3/tqt3-3.4.0-odbc.patch b/redhat/tqt3/tqt3-3.4.0-odbc.patch
new file mode 100644
index 000000000..3a5aea885
--- /dev/null
+++ b/redhat/tqt3/tqt3-3.4.0-odbc.patch
@@ -0,0 +1,18 @@
+--- tqt3/src/sql/drivers/odbc/qsql_odbc.cpp.odbc 2012-02-13 19:10:01.000000000 +0100
++++ tqt3/src/sql/drivers/odbc/qsql_odbc.cpp 2012-02-13 21:47:25.232367854 +0100
+@@ -61,13 +61,13 @@
+ #endif
+
+ // newer platform SDKs use SQLLEN instead of SQLINTEGER
+-#ifdef SQLLEN
++#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
+ # define TQSQLLEN SQLLEN
+ #else
+ # define TQSQLLEN SQLINTEGER
+ #endif
+
+-#ifdef SQLULEN
++#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
+ # define TQSQLULEN SQLULEN
+ #else
+ # define TQSQLULEN SQLUINTEGER