Port to the pcre2 library.

This commit is contained in:
2023-05-17 16:27:47 +02:00
parent 55aa25eca3
commit e5409a897d
10 changed files with 56 additions and 49 deletions

View File

@@ -99,11 +99,11 @@ main (int argc, char **argv)
if (config.haveregex)
{
#ifdef HAVE_LIBPCRE
#ifdef HAVE_LIBPCRE2
if (config.regextype == REGEX_PERL)
pcre_init ();
else
#endif /* HAVE_LIBPCRE */
#endif /* HAVE_LIBPCRE2 */
regex_init ();
}
else