chiark / gitweb /
pcre.c, etc.: Support the PCRE2 library.
[anag] / anag.h
diff --git a/anag.h b/anag.h
index 6763d0fed4a90d899b1a394782cb4fc104bd387a..32b5ea50c97c5ebee91763e3c9268ecf7c1ee2c9 100644 (file)
--- a/anag.h
+++ b/anag.h
@@ -98,7 +98,7 @@ extern node *mono(const char *const */*av*/);
 #ifdef HAVE_REGCOMP
   extern node *regexp(const char *const */*av*/);
 #endif
-#ifdef HAVE_PCRE
+#if defined(HAVE_PCRE) || defined(HAVE_PCRE2)
   extern node *pcrenode(const char *const */*av*/);
 #endif
 extern node *longest(const char *const */*av*/);