From 54c633b81034d4be6ed8cc4623408e2dad039345 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Sat, 19 Mar 2011 08:58:33 -0500 Subject: [PATCH] [master] Added -D_CRT_SECURE_NO_DEPRECATE to CFLAGS in makefile.vcwin32 --- ANNOUNCE | 1 + CHANGES | 1 + scripts/makefile.vcwin32 | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ANNOUNCE b/ANNOUNCE index dabc7b050..12583771e 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -56,6 +56,7 @@ version 1.4.6beta06 [March 19, 2011] version 1.4.6beta07 [March 19, 2011] ifdef out mask arrays in pngread.c when interlacing is not supported. Added attribute definition (warnings) for MSC_VER >= 1300 in pngconf.h + Added -D_CRT_SECURE_NO_DEPRECATE to CFLAGS in makefile.vcwin32 Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 6517c3135..c13fe2fab 100644 --- a/CHANGES +++ b/CHANGES @@ -2768,6 +2768,7 @@ version 1.4.6beta06 [March 19, 2011] version 1.4.6beta07 [March 19, 2011] ifdef out mask arrays in pngread.c when interlacing is not supported. Added attribute definition (warnings) for MSC_VER >= 1300 in pngconf.h + Added -D_CRT_SECURE_NO_DEPRECATE to CFLAGS in makefile.vcwin32 Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/scripts/makefile.vcwin32 b/scripts/makefile.vcwin32 index a65f1c112..a23c0750f 100644 --- a/scripts/makefile.vcwin32 +++ b/scripts/makefile.vcwin32 @@ -15,7 +15,7 @@ CC = cl LD = link AR = lib -CFLAGS = -nologo -MD -O2 -W3 -I..\zlib +CFLAGS = -nologo -D_CRT_SECURE_NO_DEPRECATE -MD -O2 -W3 -I..\zlib LDFLAGS = -nologo ARFLAGS = -nologo RM = del