diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/3rdparty/sqlite/config.h')
-rw-r--r-- | experimental/tqtinterface/qt4/src/3rdparty/sqlite/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/src/3rdparty/sqlite/config.h b/experimental/tqtinterface/qt4/src/3rdparty/sqlite/config.h new file mode 100644 index 000000000..0cf052410 --- /dev/null +++ b/experimental/tqtinterface/qt4/src/3rdparty/sqlite/config.h @@ -0,0 +1,23 @@ +#include <tqglobal.h> +#include <tqconfig.h> + +#ifndef TQT_POINTER_SIZE +# ifdef TQ_OS_WIN32 +# define TQT_POINTER_SIZE 4 +# elif TQ_OS_WIN64 +# define TQT_POINTER_SIZE 8 +# else +# error This platform is unsupported +# endif +#endif /* TQT_POINTER_SIZE */ + +#define STQLITE_PTR_SZ TQT_POINTER_SIZE + +#ifdef UNICODE +# undef UNICODE +#endif + +#ifdef TQ_CC_MSVC +# pragma warning(disable: 4018) +# pragma warning(disable: 4761) +#endif |