]> mj.ucw.cz Git - libucw.git/blobdiff - lib/regex.c
One more deadly testcase.
[libucw.git] / lib / regex.c
index 43ef8694ac2609a7b653e9253ae1d68e36ef1014..a80ed74185f68b8c5cef60b174a5dbff2574f06e 100644 (file)
@@ -16,7 +16,7 @@
 #include <string.h>
 #include <stdlib.h>
 
-#if 1
+#if !defined(CONFIG_PCRE) && !defined(CONFIG_POSIX_RE)
 
 /* BSD regular expression library */
 
@@ -117,7 +117,7 @@ rx_subst(regex *r, byte *by, byte *src, byte *dest, uns destlen)
   return 1;
 }
 
-#elif 0
+#elif defined(CONFIG_POSIX_RE)
 
 /* POSIX regular expression library */