pcre.c, etc.: Support the PCRE2 library.
[anag] / anag.h
diff --git a/anag.h b/anag.h
index 6763d0f..32b5ea5 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*/);