diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-11-16 22:53:45 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-11-16 22:53:45 +0000 |
| commit | 857bb723a26a28ada98ef1e8c23ecdbc16cc1171 (patch) | |
| tree | d375b656b9d4f9a43c1bae23551307a838ce772f | |
| parent | eb148815960cd91218c76ff6d7eb7230baf91469 (diff) | |
Notes
| -rw-r--r-- | gnu/lib/libregex/Makefile | 4 | ||||
| -rw-r--r-- | gnu/lib/libregex/regex.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gnu/lib/libregex/Makefile b/gnu/lib/libregex/Makefile index 1d59e0da35d9..60f7bdfc1102 100644 --- a/gnu/lib/libregex/Makefile +++ b/gnu/lib/libregex/Makefile @@ -1,8 +1,8 @@ -# $Header: /home/ncvs/src/gnu/lib/libregex/Makefile,v 1.17 1996/08/12 19:04:23 ache Exp $ +# $Header: /home/ncvs/src/gnu/lib/libregex/Makefile,v 1.18 1996/08/30 02:12:07 peter Exp $ LIB= gnuregex -CFLAGS+=-I${.CURDIR} -DHAVE_STRING_H=1 -DSTDC_HEADERS=1 +CFLAGS+=-I${.CURDIR} -DHAVE_STRING_H=1 -DSTDC_HEADERS=1 -DNO_POSIX_COMPAT=1 SRCS= regex.c NOMAN= noman 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 */ /* |
