summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/zlib/src/unzip.h2
-rw-r--r--libs/zlib/zlib.vcxproj3
2 files changed, 3 insertions, 2 deletions
diff --git a/libs/zlib/src/unzip.h b/libs/zlib/src/unzip.h
index 3bd92877c3..9c2d8c64d2 100644
--- a/libs/zlib/src/unzip.h
+++ b/libs/zlib/src/unzip.h
@@ -47,8 +47,6 @@
extern "C" {
#endif
-#define _CRT_SECURE_NO_WARNINGS
-
#ifndef _ZLIB_H
#include "zlib.h"
#endif
diff --git a/libs/zlib/zlib.vcxproj b/libs/zlib/zlib.vcxproj
index b876d92787..0f74f858e2 100644
--- a/libs/zlib/zlib.vcxproj
+++ b/libs/zlib/zlib.vcxproj
@@ -26,6 +26,9 @@
<Import Project="$(ProjectDir)..\..\build\vc.common\lib.props" />
</ImportGroup>
<ItemDefinitionGroup>
+ <ClCompile>
+ <DisableSpecificWarnings>4100;4131;4127;4189;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ </ClCompile>
<Link>
<ModuleDefinitionFile>src/zlib.def</ModuleDefinitionFile>
</Link>