diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-15 08:23:58 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-15 09:34:12 -0700 |
commit | 2335a4c24b3b5dd04656bcb724fd8d85206e0428 (patch) | |
tree | 660cdc807d3514ee7f3a07604e8fc672cbec7acd /crawl-ref/source/AppHdr.h | |
parent | 4b1c1bc74a713a30b20f403b80d4a5f050e5fc8b (diff) | |
download | crawl-ref-2335a4c24b3b5dd04656bcb724fd8d85206e0428.tar.gz crawl-ref-2335a4c24b3b5dd04656bcb724fd8d85206e0428.zip |
AppHdr.h: don't redefine REGEX_PCRE if it's already there
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 4 |
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 |