diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-10 15:24:15 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-10 15:24:15 -0500 |
commit | bd0f3345a938b35ce6a12f6150373b0955b8dd12 (patch) | |
tree | 7a520322212d48ebcb9fbe1087e7fca28b76185c /src/3rdparty/sqlite/config.h | |
download | qt3-bd0f3345a938b35ce6a12f6150373b0955b8dd12.tar.gz qt3-bd0f3345a938b35ce6a12f6150373b0955b8dd12.zip |
Add Qt3 development HEAD version
Diffstat (limited to 'src/3rdparty/sqlite/config.h')
-rw-r--r-- | src/3rdparty/sqlite/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
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 <qglobal.h> +#include <qconfig.h> + +#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 |