From ad5b94852c2f1302ddf05c5faa38d07791e2f3ea Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 27 Jan 2009 21:43:16 +0000 Subject: [PATCH] sqlite uintptr_t fix git-svn-id: svn://ultimatepp.org/upp/trunk@818 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/plugin/sqlite3/lib/sqliteInt.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/uppsrc/plugin/sqlite3/lib/sqliteInt.h b/uppsrc/plugin/sqlite3/lib/sqliteInt.h index 92bd5aaa8..77f530f48 100644 --- a/uppsrc/plugin/sqlite3/lib/sqliteInt.h +++ b/uppsrc/plugin/sqlite3/lib/sqliteInt.h @@ -35,8 +35,6 @@ #include #endif -#include - /* ** If possible, use the C99 intptr_t type to define an integral type of ** equivalent size to a pointer. (Technically it's >= sizeof(void *), but @@ -44,6 +42,15 @@ ** isn't defined. */ +#if defined(__GNUC__) +#include +#endif + +#ifdef _MSC_VER +#include +#endif + + typedef intptr_t sqlite3_intptr_t; /*