summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-25 10:05:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-25 10:05:47 +0000
commit0b489cf3f9f083ccf650280446d270c397cb0b24 (patch)
tree35dfa13c54281476b0a5b7523aae9470b85a195e /libs
parent6613345b8d2a3aaf95cb1947863496bb91bdebc4 (diff)
annoying warnings in zlib hidden
git-svn-id: http://svn.miranda-ng.org/main/trunk@14374 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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>