roblem: Visual Studio Toolset was incorrectly set in VCXPROJ files

Solution: Corrected Toolset setting where needed and inprove compilation speed
by adding defintion of WIN32_LEAN_AND_MEAN prior to any Windows specific
include files, which skips non-essential definitions during compilation.
This commit is contained in:
Osiris
2016-02-21 14:23:18 -06:00
parent c5d8353429
commit b4784d95bb
16 changed files with 16 additions and 15 deletions

View File

@@ -36,6 +36,7 @@
#include "platform.hpp"
#if defined ZMQ_HAVE_WINDOWS
#define WIN32_LEAN_AND_MEAN // speeds up compilation by removing rarely used windows definitions from headers
#include "windows.hpp"
#else
#include <unistd.h>