commit: #define _CRT_NONSTDC_NO_DEPRECATE on Win32

Aidan Kehoe aidan-guest at alioth.debian.org
Tue May 13 14:17:06 EDT 2008


changeset:   4457:2fddd822ce87c676cc23043237fdfa35cfd886ac
user:        Aidan Kehoe <kehoea at parhasard.net>
date:        Tue May 13 20:11:51 2008 +0200
files:       src/ChangeLog src/config.h.in
description:
#define _CRT_NONSTDC_NO_DEPRECATE on Win32

2008-05-13  Aidan Kehoe  <kehoea at 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 at mail.gmail.com .


diff -r c785f98c6737d0da7774c975790b6247717af226 -r 2fddd822ce87c676cc23043237fdfa35cfd886ac src/ChangeLog
--- 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-01-20  Aidan Kehoe  <kehoea at parhasa
+2008-05-13  Aidan Kehoe  <kehoea at 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 at mail.gmail.com .
+
 2008-01-20  Aidan Kehoe  <kehoea at parhasard.net>
 
 	* config.h.in: Add SHEBANG_PROGNAME.
diff -r c785f98c6737d0da7774c975790b6247717af226 -r 2fddd822ce87c676cc23043237fdfa35cfd886ac src/config.h.in
--- 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 @@ things are arranged in config.h.in.  In 
    "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.




More information about the XEmacs-Patches mailing list