summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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