]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove #ifdef around <regex.h> inclusion.
authorJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 14:45:12 +0000 (14:45 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 14:45:12 +0000 (14:45 +0000)
(extract_regexp): Remove #if !WITH_REGEX...#endif block.

src/csplit.c

index d31f899795d4ecfef0ee0e2f8959047c0ccfc60e..685bfc19a683039348a11a4984551596d3fbb07f 100644 (file)
 
 #include "system.h"
 
-#if WITH_REGEX
-# include <regex.h>
-#else
-# include <rx.h>
-#endif
+#include <regex.h>
 
 #include "error.h"
 #include "xstrtoul.h"
@@ -1150,9 +1146,6 @@ extract_regexp (int argnum, boolean ignore, char *str)
   p->re_compiled.buffer = (unsigned char *) xmalloc (p->re_compiled.allocated);
   p->re_compiled.fastmap = xmalloc (256);
   p->re_compiled.translate = 0;
-#if !WITH_REGEX
-  p->re_compiled.syntax_parens = 0;
-#endif
   err = re_compile_pattern (p->regexpr, len, &p->re_compiled);
   if (err)
     {