summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-11-04 10:02:49 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-11-04 10:02:49 +0100
commit50a9ee6e7335b645487a83487285bce6886ba082 (patch)
treea0e67f458fa59645f0fd47372073a1ed35041583
parent05ce301f3571e3e690792a189cb927328163f0bc (diff)
MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--builds/msvc/libzmq/libzmq.vcproj30
-rw-r--r--src/windows.hpp3
2 files changed, 3 insertions, 30 deletions
diff --git a/builds/msvc/libzmq/libzmq.vcproj b/builds/msvc/libzmq/libzmq.vcproj
index e3eece6..f93b422 100644
--- a/builds/msvc/libzmq/libzmq.vcproj
+++ b/builds/msvc/libzmq/libzmq.vcproj
@@ -40,7 +40,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024"
+ AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024 -D_CRT_SECURE_NO_WARNINGS"
Optimization="0"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@@ -112,7 +112,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024"
+ AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024 -D_CRT_SECURE_NO_WARNINGS"
Optimization="2"
EnableIntrinsicFunctions="true"
RuntimeLibrary="2"
@@ -186,7 +186,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024"
+ AdditionalOptions="-DDLL_EXPORT -DFD_SETSIZE=1024 -D_CRT_SECURE_NO_WARNINGS"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="../../../../OpenPGM/include"
@@ -395,10 +395,6 @@
>
</File>
<File
- RelativePath="..\..\..\src\router.cpp"
- >
- </File>
- <File
RelativePath="..\..\..\src\select.cpp"
>
</File>
@@ -443,14 +439,6 @@
>
</File>
<File
- RelativePath="..\..\..\src\vtcp_connecter.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\vtcp_listener.cpp"
- >
- </File>
- <File
RelativePath="..\..\..\src\xpub.cpp"
>
</File>
@@ -677,10 +665,6 @@
>
</File>
<File
- RelativePath="..\..\..\src\router.hpp"
- >
- </File>
- <File
RelativePath="..\..\..\src\select.hpp"
>
</File>
@@ -729,14 +713,6 @@
>
</File>
<File
- RelativePath="..\..\..\src\vtcp_connecter.hpp"
- >
- </File>
- <File
- RelativePath="..\..\..\src\vtcp_listener.hpp"
- >
- </File>
- <File
RelativePath="..\..\..\src\windows.hpp"
>
</File>
diff --git a/src/windows.hpp b/src/windows.hpp
index 5e986b2..da69b47 100644
--- a/src/windows.hpp
+++ b/src/windows.hpp
@@ -25,9 +25,6 @@
// The purpose of this header file is to turn on only the items actually
// needed on the windows platform.
-// Disable deprecation warnings.
-#define _CRT_SECURE_NO_WARNINGS
-
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif