From: Vadim Zeitlin Date: Sat, 6 Jun 2009 23:10:19 +0000 (+0000) Subject: define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functi... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7faab5c528c83594a6900f7181f52f23769dfdf6 define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index a557cea9c3..37ee6b5f17 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -141,6 +141,9 @@ #ifndef _CRT_NON_CONFORMING_SWPRINTFS #define _CRT_NON_CONFORMING_SWPRINTFS 1 #endif + #ifndef _SCL_SECURE_NO_WARNINGS + #define _SCL_SECURE_NO_WARNINGS 1 + #endif #endif /* VC++ 8 */ #endif /* __VISUALC__ */