diff options
Diffstat (limited to 'gnu/lib/libregex/regex.c')
-rw-r--r-- | gnu/lib/libregex/regex.c | 2 |
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 */ /* |