changeset 4457:2fddd822ce87

#define _CRT_NONSTDC_NO_DEPRECATE on Win32 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> * config.h.in (_CRT_NONSTDC_NO_DEPRECATE): Define this, to avoid warnings about using standard POSIX and C9X functions on Win32; fixes part of Matthew Persico's problems of 9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com .
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 13 May 2008 20:11:51 +0200
parents c785f98c6737
children d9b9b5f90386
files src/ChangeLog src/config.h.in
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue May 13 20:08:28 2008 +0200
+++ b/src/ChangeLog	Tue May 13 20:11:51 2008 +0200
@@ -1,3 +1,10 @@
+2008-05-13  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* config.h.in (_CRT_NONSTDC_NO_DEPRECATE): 
+	Define this, to avoid warnings about using standard POSIX and C9X
+	functions on Win32; fixes part of Matthew Persico's problems of
+	9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com .
+
 2008-01-20  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* config.h.in: Add SHEBANG_PROGNAME.
--- a/src/config.h.in	Tue May 13 20:08:28 2008 +0200
+++ b/src/config.h.in	Tue May 13 20:11:51 2008 +0200
@@ -875,6 +875,7 @@
    "deprecated" in favor of Microsoft-specific "secure" ones (!)
    This must go *before* the inclusion of any system files. */
 #define _CRT_SECURE_NO_DEPRECATE
+#define _CRT_NONSTDC_NO_DEPRECATE
 #endif
 
 /* alloca twiddling.