From e960842b55cae4b0979fcfabde1e955ec16d9278 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 19 Feb 2006 22:15:23 +0000 Subject: [PATCH] Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8846 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/swiglabels.swg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SWIG/Lib/swiglabels.swg b/SWIG/Lib/swiglabels.swg index f3a276906..8bd4b3dfd 100644 --- a/SWIG/Lib/swiglabels.swg +++ b/SWIG/Lib/swiglabels.swg @@ -81,3 +81,8 @@ # define SWIGSTDCALL # endif #endif + +/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ +#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) +# define _CRT_SECURE_NO_DEPRECATE +#endif