diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-06 00:25:36 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-06 00:27:17 +0100 |
commit | 5b5a6bc82d69360a130837a24ac56432a9ef6b6d (patch) | |
tree | 0de23db519e8332cd089d5c850881b1f73bd7c76 | |
parent | 7a9cf7d5dfcee5c454826aa88e7af9c3c6ac2acd (diff) | |
download | crawl-ref-5b5a6bc82d69360a130837a24ac56432a9ef6b6d.tar.gz crawl-ref-5b5a6bc82d69360a130837a24ac56432a9ef6b6d.zip |
Fix the DOS port.
-rw-r--r-- | crawl-ref/source/AppHdr.h | 2 | ||||
m--------- | crawl-ref/source/contrib/sqlite | 0 | ||||
-rw-r--r-- | crawl-ref/source/libdos.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/makefile | 4 |
4 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 9ec6d523fa..fcaa373b09 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -201,7 +201,9 @@ // Use Perl-compatible regular expressions. libpcre must be available and // linked in. This is optional. + #ifndef REGEX_PCRE #define REGEX_PCRE + #endif #elif defined(TARGET_OS_WINDOWS) #if !defined(USE_TILE) diff --git a/crawl-ref/source/contrib/sqlite b/crawl-ref/source/contrib/sqlite -Subproject 5789354f91fdedf79f85b04facf29791fceea9f +Subproject 582655fc04ad78968de280b9d928dc9ab16eec7 diff --git a/crawl-ref/source/libdos.cc b/crawl-ref/source/libdos.cc index d704f6eedb..62e90ae93d 100644 --- a/crawl-ref/source/libdos.cc +++ b/crawl-ref/source/libdos.cc @@ -13,6 +13,8 @@ #include "cio.h" #include <termios.h> #include <conio.h> +#include "options.h" +#include "viewgeom.h" #if defined(TARGET_OS_DOS) diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index c90de46ffb..6056922ce1 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -146,9 +146,13 @@ else ifdef NEED_LIBW32C OBJECTS += libw32c.o else +ifdef NEED_LIBDOS +OBJECTS += libdos.o +else OBJECTS += libunix.o endif endif +endif # To get stack trace symbols. # Note that MinGW doesn't support -rdynamic. |