aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>