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.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utility.hpp b/utility.hpp
index d9119de..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