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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 8bad5c10e4..42c371f581 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -48,7 +48,9 @@
# define HASH_CONTAINERS
#endif
-// Uncomment to enable the Crawl Lua bindings.
+// Uncomment to enable the Crawl Lua bindings. You can also set this in your
+// makefile by adding -DCLUA_BINDINGS to the CFLAGS line (this is preferred to
+// editing AppHdr.h directly).
//
// #define CLUA_BINDINGS
@@ -233,6 +235,10 @@
#define DGL_MACRO_ABSOLUTE_PATH
#endif
+#if defined(REGEX_POSIX) && defined(REGEX_PCRE)
+#error You can use either REGEX_POSIX or REGEX_PCRE, or neither, but not both.
+#endif
+
// =========================================================================
// Debugging Defines
// =========================================================================