diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-12-06 01:49:08 +0000 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-12-06 01:49:08 +0000 |
commit | f3679089a1182e143ad49a89eb78513e51ec6cf6 (patch) | |
tree | 9dbad1b7c97154fa7cc173524d89ca16c4b7d74c /lib/libz/Makefile | |
parent | f31d0140944777649798625457c6e38cdd5f4b33 (diff) | |
download | FreeBSD-src-f3679089a1182e143ad49a89eb78513e51ec6cf6.zip FreeBSD-src-f3679089a1182e143ad49a89eb78513e51ec6cf6.tar.gz |
Add appropriate defines to use snprintf/vsnprintf instead of
sprintf/vsprintf.
Approved by: peter
Diffstat (limited to 'lib/libz/Makefile')
-rw-r--r-- | lib/libz/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile index abb4b19..fa5d9c2 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -12,6 +12,8 @@ MAN3= zlib.3 #CFLAGS+= -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ # -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+= -DHAS_snprintf -DHAS_vsnprintf + CLEANFILES+= example.o example foo.gz minigzip.o minigzip SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \ |