From 2335a4c24b3b5dd04656bcb724fd8d85206e0428 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Thu, 15 Oct 2009 08:23:58 -0700 Subject: AppHdr.h: don't redefine REGEX_PCRE if it's already there Signed-off-by: Steven Noonan --- crawl-ref/source/AppHdr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/AppHdr.h') 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 -- cgit v1.2.3-54-g00ecf