Move _CRT_SECURE_NO_WARNINGS check to the top of file.

This commit is contained in:
David Baird
2013-11-12 18:33:12 -07:00
parent 7d6681eea1
commit 33ca65e4e8
+5 -2
View File
@@ -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"
#ifdef _WIN32
// _CRT_SECURE_NO_WARNINGS for sscanf errors in MSVC2013 Express
#define _CRT_SECURE_NO_WARNINGS
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif