From c28dc45d4ced682fba66de29428488c4aa3b1021 Mon Sep 17 00:00:00 2001
From: Pavel <ppuchkarev@aerotech.com>
Date: Mon, 6 May 2013 09:02:30 -0400
Subject: [PATCH] removing warning about _CRT_SECURE_NO_WARNINGS if it is
 already defined

	modified:   mongoose.c
---
 mongoose.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mongoose.c b/mongoose.c
index 451b8e77f..1b9362291 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -19,7 +19,9 @@
 // THE SOFTWARE.
 
 #if defined(_WIN32)
+#if !defined(_CRT_SECURE_NO_WARNINGS)
 #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
+#endif
 #else
 #ifdef __linux__
 #define _XOPEN_SOURCE 600     // For flockfile() on Linux
-- 
GitLab