diff --git a/server_http.hpp b/server_http.hpp index 83e2739..e5fae19 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -21,6 +21,7 @@ #endif // TODO when switching to c++14, use [[deprecated]] instead +#ifndef DEPRECATED #ifdef __GNUC__ #define DEPRECATED __attribute__((deprecated)) #elif defined(_MSC_VER) @@ -28,6 +29,7 @@ #else #define DEPRECATED #endif +#endif namespace SimpleWeb { template