From 23ed27df89fcf3eafe8adcfb7e093a21abca42ee Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 25 Apr 2014 20:11:00 -0400 Subject: [PATCH] Renamed DEPRECATE to SOL_DEPRECATED --- sol/deprecate.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sol/deprecate.hpp b/sol/deprecate.hpp index bd14b5c1..59b23729 100644 --- a/sol/deprecate.hpp +++ b/sol/deprecate.hpp @@ -22,14 +22,14 @@ #ifndef SOL_DEPRECATE_HPP #define SOL_DEPRECATE_HPP -#ifndef DEPRECATE -#ifdef _MSC_VER -#define DEPRECATE __declspec(deprecated) -#elif __GNUC__ -#define DEPRECATE __attribute__((deprecated)) -#else -#define DEPRECATE [[deprecated]] -#endif // VC++ || GCC || Others -#endif // DEPRECATE +#ifndef SOL_DEPRECATED + #ifdef _MSC_VER + #define SOL_DEPRECATED __declspec(deprecated) + #elif __GNUC__ + #define SOL_DEPRECATED __attribute__((deprecated)) + #else + #define SOL_DEPRECATED [[deprecated]] + #endif // compilers +#endif // SOL_DEPRECATED #endif // SOL_DEPRECATE_HPP \ No newline at end of file