summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 7864d87abe..2092799902 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -80,7 +80,9 @@
// MinGW
//
#if defined(TARGET_COMPILER_MINGW)
+ #ifndef REGEX_PCRE
#define REGEX_PCRE
+ #endif
#endif
// =========================================================================
@@ -208,7 +210,9 @@
// Use Perl-compatible regular expressions. libpcre must be available and
// linked in. This is optional.
+ #ifndef REGEX_PCRE
#define REGEX_PCRE
+ #endif
#else
#error Missing platform #define or unsupported compiler.
#endif