summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-22 20:56:03 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-22 20:56:03 +0000
commit6b8c7d582477655976fe7f8cc7e69a0e35c740d1 (patch)
treea24660769567e63247b48d0d71bf2d1794f1a2f1 /crawl-ref/source
parent8548e1273bf068feeeed283e9ae90ca826fd0efa (diff)
downloadcrawl-ref-6b8c7d582477655976fe7f8cc7e69a0e35c740d1.tar.gz
crawl-ref-6b8c7d582477655976fe7f8cc7e69a0e35c740d1.zip
Older MinGW don't seem to typedef int64_t, hacked.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1343 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/makefile.unix3
-rw-r--r--crawl-ref/source/sqldbm.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix
index a9403ce67e..ca2fc003be 100644
--- a/crawl-ref/source/makefile.unix
+++ b/crawl-ref/source/makefile.unix
@@ -51,7 +51,6 @@ endif
LUALIB = lua
LUALIBA = l$(LUALIB).a
-SELDBM :=
DBH_FILE := /usr/include/db.h
NDBM_FILE := /usr/include/ndbm.h
@@ -67,7 +66,7 @@ endif
ifeq ($(HAVE_NDBM),y)
SELDBM ?= -DDB_NDBM
-ifeq ($(SELDBM), -DDB_NDBM)
+ifeq ($(SELDBM),-DDB_NDBM)
LIBDBM := -ldbm
endif
endif
diff --git a/crawl-ref/source/sqldbm.h b/crawl-ref/source/sqldbm.h
index f9ba9ca284..7cf8faac8a 100644
--- a/crawl-ref/source/sqldbm.h
+++ b/crawl-ref/source/sqldbm.h
@@ -7,7 +7,7 @@
#include <sys/types.h>
-#ifdef DOS
+#if defined(DOS) || defined(WIN32CONSOLE)
#define SQLITE_INT64_TYPE int
#define SQLITE_UINT64_TYPE unsigned int
#else