From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- src/3rdparty/sqlite/config.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/3rdparty/sqlite/config.h (limited to 'src/3rdparty/sqlite/config.h') diff --git a/src/3rdparty/sqlite/config.h b/src/3rdparty/sqlite/config.h new file mode 100644 index 0000000..ae29a57 --- /dev/null +++ b/src/3rdparty/sqlite/config.h @@ -0,0 +1,23 @@ +#include +#include + +#ifndef QT_POINTER_SIZE +# ifdef Q_OS_WIN32 +# define QT_POINTER_SIZE 4 +# elif Q_OS_WIN64 +# define QT_POINTER_SIZE 8 +# else +# error This platform is unsupported +# endif +#endif /* QT_POINTER_SIZE */ + +#define SQLITE_PTR_SZ QT_POINTER_SIZE + +#ifdef UNICODE +# undef UNICODE +#endif + +#ifdef Q_CC_MSVC +# pragma warning(disable: 4018) +# pragma warning(disable: 4761) +#endif -- cgit v1.2.3