diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/makefile.unix | 3 | ||||
-rw-r--r-- | crawl-ref/source/sqldbm.h | 2 |
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 |