Move _CRT_SECURE_NO_WARNINGS check to the top of file.
This commit is contained in:
+5
-2
@@ -1,8 +1,11 @@
|
|||||||
|
#ifdef _MSC_VER
|
||||||
|
// _CRT_SECURE_NO_WARNINGS for sscanf errors in MSVC2013 Express
|
||||||
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "easywsclient.hpp"
|
#include "easywsclient.hpp"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// _CRT_SECURE_NO_WARNINGS for sscanf errors in MSVC2013 Express
|
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user