X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fregex.c;h=d149d60f39be49a6c974233177129b8a5aa64cf9;hb=6efdc514c193f18c9ef840096750c37e78a01bf6;hp=f74f33e1d4e78141557f5df7948937ed62d88d55;hpb=1cf8ac51f5495ccd5187dc220ffc69e95d6e0cfc;p=libucw.git diff --git a/ucw/regex.c b/ucw/regex.c index f74f33e1..d149d60f 100644 --- a/ucw/regex.c +++ b/ucw/regex.c @@ -8,23 +8,19 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/chartype.h" -#include "ucw/hashfunc.h" -#include "ucw/regex.h" +#include +#include +#include +#include #include #include -#if defined(CONFIG_OWN_REGEX) || defined(CONFIG_POSIX_REGEX) +#ifdef CONFIG_UCW_POSIX_REGEX /* POSIX regular expression library */ -#ifdef CONFIG_OWN_REGEX -#include "lib/regex/regex-sh.h" -#else #include -#endif struct regex { regex_t rx; @@ -108,7 +104,7 @@ rx_subst(regex *r, const char *by, const char *src, char *dest, uns destlen) return 1; } -#elif defined(CONFIG_PCRE) +#elif defined(CONFIG_UCW_PCRE) /* PCRE library */