summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/sqldbm.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-26 00:46:15 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-26 00:46:15 +0000
commit2c81407fbf68a2cb42edc599ccfd050987b8fcbe (patch)
treeff2b6a31c7cd6b475af03321e7a6e0c1a804653a /crawl-ref/source/sqldbm.h
parenta6ac606f5217384d1b93d07926278e7a331de684 (diff)
downloadcrawl-ref-2c81407fbf68a2cb42edc599ccfd050987b8fcbe.tar.gz
crawl-ref-2c81407fbf68a2cb42edc599ccfd050987b8fcbe.zip
Switch to using 32-bit types instead of 64-bit types for sqlite. (dpeg--this should fix your compilation issues.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9225 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/sqldbm.h')
-rw-r--r--crawl-ref/source/sqldbm.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/sqldbm.h b/crawl-ref/source/sqldbm.h
index 07a03550d1..fc7ea5393f 100644
--- a/crawl-ref/source/sqldbm.h
+++ b/crawl-ref/source/sqldbm.h
@@ -16,13 +16,9 @@
#include <sys/types.h>
#include <memory>
-#if defined(DOS) || defined(WIN32CONSOLE)
#define SQLITE_INT64_TYPE int
#define SQLITE_UINT64_TYPE unsigned int
-#else
-#define SQLITE_INT64_TYPE int64_t
-#define SQLITE_UINT64_TYPE uint64_t
-#endif
+
#include <sqlite3.h>
#include <string>