MSVC: Disable deprecation warnings for C89 functions
C89 sadly doesn't provide safe alternatives for strcpy, sprintf and the like.
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* disable warnings about old C89 functions in MSVC */
|
||||
#if !defined(_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
#pragma GCC visibility push(default)
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user