From 3fb5c11b03119a157db8dc024809943f88f87320 Mon Sep 17 00:00:00 2001 From: Stuart Webster Date: Thu, 15 Dec 2011 14:03:43 +0100 Subject: Added MSVC10 solution and project files for Windows These include configurations for both Win32 and x64 platforms. All project settings have been normalised in property sheets (the ".props" files under builds/msvc/properties) to simplify maintenance. Build artefacts are all generated in platform-specific subfolders of bin, lib and obj directories. Also enables the use of precompiled headers with MSVC10. This significantly reduces the time required to compile libzmq with Visual Studio on Windows. It should have no impact on other platforms. Signed-off-by: Stuart Webster --- src/windows.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/windows.hpp') diff --git a/src/windows.hpp b/src/windows.hpp index da69b47..f5f946c 100644 --- a/src/windows.hpp +++ b/src/windows.hpp @@ -25,6 +25,9 @@ // The purpose of this header file is to turn on only the items actually // needed on the windows platform. +#ifndef _CRT_SECURE_NO_WARNINGS +#define _CRT_SECURE_NO_WARNINGS +#endif #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif -- cgit v1.2.3