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.h2
1 files changed, 2 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)