summaryrefslogtreecommitdiff
path: root/src/windows.hpp
diff options
context:
space:
mode:
authorStuart Webster <sw_webster@hotmail.com>2011-12-15 14:03:43 +0100
committerunknown <sustrik@turist.(none)>2011-12-15 14:03:43 +0100
commit3fb5c11b03119a157db8dc024809943f88f87320 (patch)
treee3463dbfd8961f6ce9432b801fc6577cec4d500b /src/windows.hpp
parenta9e03336b020d2e6a83338b111092e65aa812f95 (diff)
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 <sw_webster@hotmail.com>
Diffstat (limited to 'src/windows.hpp')
-rw-r--r--src/windows.hpp3
1 files changed, 3 insertions, 0 deletions
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