Deal with Microsoft deprecation of standard C++ library methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c8e1d09cff
commit
ff4bfe41e7
1 changed files with 6 additions and 0 deletions
|
|
@ -94,3 +94,9 @@
|
|||
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
||||
# define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
|
||||
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
|
||||
# define _SCL_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue