summaryrefslogtreecommitdiffstats
path: root/lib/libz/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-12-06 01:49:08 +0000
committerjedgar <jedgar@FreeBSD.org>2000-12-06 01:49:08 +0000
commitf3679089a1182e143ad49a89eb78513e51ec6cf6 (patch)
tree9dbad1b7c97154fa7cc173524d89ca16c4b7d74c /lib/libz/Makefile
parentf31d0140944777649798625457c6e38cdd5f4b33 (diff)
downloadFreeBSD-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/Makefile2
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 \
OpenPOWER on IntegriCloud