diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-11-20 15:05:51 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-11-20 15:05:51 +0000 |
| commit | a384ea263cadd7102ab6ee51bbecb6eb142b6062 (patch) | |
| tree | 92918d849df11d97b29191e08da54757506a4642 /gnu/lib | |
| parent | c6431fb76a96daa1f67c668a3ccf9a477eae6450 (diff) | |
Notes
Diffstat (limited to 'gnu/lib')
| -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..ccbd62e3fd6c 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.19 1996/11/16 22:53:42 joerg 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 */ /* |
