fix a MSVC 2015 warning

This commit is contained in:
Nguyen Anh Quynh 2016-03-08 11:38:00 +08:00
parent 7d45c01cb3
commit 6b3a1f4e7d
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
// the following must precede stdio (woo, thanks msft) // the following must precede stdio (woo, thanks msft)
#ifdef _MSC_VER #ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS //#define _CRT_SECURE_NO_WARNINGS
#define snprintf _snprintf //#define snprintf _snprintf
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>