|
|
|
@ -6,17 +6,17 @@ diff -du ./config.h /home/harald/troll/qt-3.3/src/3rdparty/sqlite/config.h
|
|
|
|
|
+#include <ntqglobal.h>
|
|
|
|
|
+#include <ntqconfig.h>
|
|
|
|
|
+
|
|
|
|
|
+#ifndef QT_POINTER_SIZE
|
|
|
|
|
+#ifndef TQT_POINTER_SIZE
|
|
|
|
|
+# ifdef Q_OS_WIN32
|
|
|
|
|
+# define QT_POINTER_SIZE 4
|
|
|
|
|
+# define TQT_POINTER_SIZE 4
|
|
|
|
|
+# elif Q_OS_WIN64
|
|
|
|
|
+# define QT_POINTER_SIZE 8
|
|
|
|
|
+# define TQT_POINTER_SIZE 8
|
|
|
|
|
+# else
|
|
|
|
|
+# error This platform is unsupported
|
|
|
|
|
+# endif
|
|
|
|
|
+#endif /* QT_POINTER_SIZE */
|
|
|
|
|
+#endif /* TQT_POINTER_SIZE */
|
|
|
|
|
+
|
|
|
|
|
+#define SQLITE_PTR_SZ QT_POINTER_SIZE
|
|
|
|
|
+#define SQLITE_PTR_SZ TQT_POINTER_SIZE
|
|
|
|
|
+
|
|
|
|
|
+#ifdef UNICODE
|
|
|
|
|
+# undef UNICODE
|
|
|
|
|