mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-08 14:56:14 +01:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user