Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'utility.hpp')
-rw-r--r--utility.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/utility.hpp b/utility.hpp
index 3b41ff3..cac7dfa 100644
--- a/utility.hpp
+++ b/utility.hpp
@@ -12,13 +12,13 @@
#include <string>
#include <unordered_map>
-#ifndef DEPRECATED
+#ifndef SW_DEPRECATED
#if defined(__GNUC__) || defined(__clang__)
-#define DEPRECATED __attribute__((deprecated))
+#define SW_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
-#define DEPRECATED __declspec(deprecated)
+#define SW_DEPRECATED __declspec(deprecated)
#else
-#define DEPRECATED
+#define SW_DEPRECATED
#endif
#endif
@@ -27,7 +27,7 @@
namespace SimpleWeb {
using string_view = std::string_view;
}
-#elif !defined(USE_STANDALONE_ASIO)
+#elif !defined(ASIO_STANDALONE)
#include <boost/utility/string_ref.hpp>
namespace SimpleWeb {
using string_view = boost::string_ref;