X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fregex.c;h=a80ed74185f68b8c5cef60b174a5dbff2574f06e;hb=3cf2b0aaf15a2076c18de7e684703c175ed05d4e;hp=43ef8694ac2609a7b653e9253ae1d68e36ef1014;hpb=ad014f5f33ed7f3079c6b7e688d12baf708ee3b3;p=libucw.git diff --git a/lib/regex.c b/lib/regex.c index 43ef8694..a80ed741 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -16,7 +16,7 @@ #include #include -#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 */