summaryrefslogtreecommitdiff
path: root/gnu/lib/libregex/regex.c
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-11-16 22:53:45 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-11-16 22:53:45 +0000
commit857bb723a26a28ada98ef1e8c23ecdbc16cc1171 (patch)
treed375b656b9d4f9a43c1bae23551307a838ce772f /gnu/lib/libregex/regex.c
parenteb148815960cd91218c76ff6d7eb7230baf91469 (diff)
Notes
Diffstat (limited to 'gnu/lib/libregex/regex.c')
-rw-r--r--gnu/lib/libregex/regex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/lib/libregex/regex.c b/gnu/lib/libregex/regex.c
index ded13c56729a..335e5d3fca7f 100644
--- a/gnu/lib/libregex/regex.c
+++ b/gnu/lib/libregex/regex.c
@@ -4847,6 +4847,7 @@ re_exec (s)
/* POSIX.2 functions. Don't define these for Emacs. */
#ifndef emacs
+#if !NO_POSIX_COMPAT
/* regcomp takes a regular expression as a string and compiles it.
@@ -5088,6 +5089,7 @@ regfree (preg)
preg->translate = NULL;
}
+#endif /* !NO_POSIX_COMPAT */
#endif /* not emacs */
/*