diff options
author | axis <qt-info@nokia.com> | 2009-04-24 11:34:15 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-04-24 11:34:15 (GMT) |
commit | 8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76 (patch) | |
tree | a17e1a767a89542ab59907462206d7dcf2e504b2 /src/3rdparty/patches/sqlite-3.5.6-config.patch | |
download | Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.zip Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.tar.gz Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.tar.bz2 |
Long live Qt for S60!
Diffstat (limited to 'src/3rdparty/patches/sqlite-3.5.6-config.patch')
-rw-r--r-- | src/3rdparty/patches/sqlite-3.5.6-config.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/3rdparty/patches/sqlite-3.5.6-config.patch b/src/3rdparty/patches/sqlite-3.5.6-config.patch new file mode 100644 index 0000000..cf158ea --- /dev/null +++ b/src/3rdparty/patches/sqlite-3.5.6-config.patch @@ -0,0 +1,38 @@ +--- sqlite3.c.orig 2008-02-06 16:03:28.000000000 +0100 ++++ sqlite3.c 2008-02-13 00:00:00.000000000 +0100 +@@ -16823,6 +16823,8 @@ + */ + #if OS_UNIX /* This file is used on unix only */ + ++#include <qconfig.h> ++ + /* #define SQLITE_ENABLE_LOCKING_STYLE 0 */ + + /* +@@ -16865,7 +16867,7 @@ + ** If we are to be thread-safe, include the pthreads header and define + ** the SQLITE_UNIX_THREADS macro. + */ +-#if SQLITE_THREADSAFE ++#ifndef QT_NO_THREAD + # define SQLITE_UNIX_THREADS 1 + #endif + +@@ -19739,6 +19741,8 @@ + ** desktops but not so well in embedded systems. + */ + ++#include <qconfig.h> ++ + #include <winbase.h> + + #ifdef __CYGWIN__ +@@ -19748,7 +19752,7 @@ + /* + ** Macros used to determine whether or not to use threads. + */ +-#if defined(THREADSAFE) && THREADSAFE ++#ifndef QT_NO_THREAD + # define SQLITE_W32_THREADS 1 + #endif + |