aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriDunk5400 <iDunk5400@users.noreply.github.com>2019-04-18 17:00:13 +0200
committeriDunk5400 <iDunk5400@users.noreply.github.com>2019-04-18 17:00:13 +0200
commitb414b69f5c37c254e743da52e63b8611196b4cf2 (patch)
treea8e685ebe4156c2eedbc3560c6039f0f0c6b6aa7
parentMerge pull request #5415 (diff)
downloadmonero-b414b69f5c37c254e743da52e63b8611196b4cf2.tar.xz
Windows: fix a build error in MSYS2 with boost 1.70.0
-rw-r--r--src/common/util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp
index 3388974ce..db5aa3052 100644
--- a/src/common/util.cpp
+++ b/src/common/util.cpp
@@ -69,6 +69,9 @@ using namespace epee;
#include "net/http_client.h" // epee::net_utils::...
#ifdef WIN32
+#ifndef STRSAFE_NO_DEPRECATE
+#define STRSAFE_NO_DEPRECATE
+#endif
#include <windows.h>
#include <shlobj.h>
#include <strsafe.h>