diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:24:03 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:24:03 (GMT) |
commit | 8cff87efa971141bf4670a7621b08975e6800945 (patch) | |
tree | 3c1c31c00427a3a24deb1605ad2c8b0a2d76b100 /abs/core/qt3/qt-odbc.patch | |
parent | c9c7d42b1b791d4056b4fc9b4b649e14983bb0db (diff) | |
download | linhes_pkgbuild-8cff87efa971141bf4670a7621b08975e6800945.zip linhes_pkgbuild-8cff87efa971141bf4670a7621b08975e6800945.tar.gz linhes_pkgbuild-8cff87efa971141bf4670a7621b08975e6800945.tar.bz2 |
qt3
Diffstat (limited to 'abs/core/qt3/qt-odbc.patch')
-rw-r--r-- | abs/core/qt3/qt-odbc.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core/qt3/qt-odbc.patch b/abs/core/qt3/qt-odbc.patch new file mode 100644 index 0000000..6f21e3c --- /dev/null +++ b/abs/core/qt3/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 |