summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/regex/Makefile.in2
-rw-r--r--libc/misc/regex/regex_old.c (renamed from libc/misc/regex/regex.c)4
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/regex/Makefile.in b/libc/misc/regex/Makefile.in
index 50d2c2d06..5c86e874d 100644
--- a/libc/misc/regex/Makefile.in
+++ b/libc/misc/regex/Makefile.in
@@ -6,7 +6,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CSRC:=regex.c
+CSRC:=regex_old.c
MISC_REGEX_DIR:=$(top_srcdir)libc/misc/regex
MISC_REGEX_OUT:=$(top_builddir)libc/misc/regex
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex_old.c
index 10fd95220..3e9d2eb30 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex_old.c
@@ -651,12 +651,12 @@ typedef enum
# ifdef MBS_SUPPORT
# define WCHAR
# define INSIDE_RECURSION
-# include "regex.c"
+# include "regex_old.c"
# undef INSIDE_RECURSION
# endif
# define BYTE
# define INSIDE_RECURSION
-# include "regex.c"
+# include "regex_old.c"
# undef INSIDE_RECURSION
# endif
#endif