_CRT_SECURE_NO_WARNINGS moved to util.h
This commit is contained in:
1 parent
2f6ccee6af
commit
e679741b18
9 files changed
+3
-18
No files matched your search
@@ -29,6 +29,8 @@ extern "C" {
|
||||
* Compiler Options
|
||||
****************************************/
|
||||
#if defined(_MSC_VER)
|
||||
# define _CRT_SECURE_NO_WARNINGS /* Disable Visual Studio warning messages for fopen, strncpy, strerror */
|
||||
# define _CRT_SECURE_NO_DEPRECATE /* VS2005 */
|
||||
# if (_MSC_VER <= 1800) /* (1800 = Visual Studio 2013) */
|
||||
# define snprintf sprintf_s /* snprintf unsupported by Visual <= 2013 */
|
||||
# endif
|
||||
|
||||
Reference in new issue
Block a user