Renamed DEPRECATE to SOL_DEPRECATED

This commit is contained in:
Rapptz 2014-04-25 20:11:00 -04:00
parent 2243bec052
commit 23ed27df89

View File

@ -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