From 07df7ee20a0f3027516ad03465a2fb7b7e38e864 Mon Sep 17 00:00:00 2001 From: aavit Date: Mon, 4 Apr 2011 14:43:28 +0200 Subject: Avoid some compiler warnings on Windows --- src/3rdparty/zlib/zconf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/3rdparty/zlib/zconf.h b/src/3rdparty/zlib/zconf.h index 0105ca4..a92eb36 100644 --- a/src/3rdparty/zlib/zconf.h +++ b/src/3rdparty/zlib/zconf.h @@ -271,6 +271,8 @@ #endif #if defined(WINDOWS) || defined(WIN32) +# define _CRT_SECURE_NO_DEPRECATE +# define _CRT_NONSTDC_NO_DEPRECATE /* If building or using zlib as a DLL, define ZLIB_DLL. * This is not mandatory, but it offers a little performance increase. */ -- cgit v0.12