summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/zlib')
-rw-r--r--src/3rdparty/zlib/gzguts.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/3rdparty/zlib/gzguts.h b/src/3rdparty/zlib/gzguts.h
index 26b4d37c1d..9e4368e889 100644
--- a/src/3rdparty/zlib/gzguts.h
+++ b/src/3rdparty/zlib/gzguts.h
@@ -4,8 +4,12 @@
*/
#ifdef _MSC_VER
-# define _CRT_SECURE_NO_DEPRECATE
-# define _CRT_NONSTDC_NO_DEPRECATE
+# ifndef _CRT_SECURE_NO_DEPRECATE
+# define _CRT_SECURE_NO_DEPRECATE
+# endif
+# ifndef _CRT_NONSTDC_NO_DEPRECATE
+# define _CRT_NONSTDC_NO_DEPRECATE
+# endif
#endif
#ifdef _LARGEFILE64_SOURCE