mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Renamed DEPRECATE to SOL_DEPRECATED
This commit is contained in:
parent
2243bec052
commit
23ed27df89
|
@ -22,14 +22,14 @@
|
||||||
#ifndef SOL_DEPRECATE_HPP
|
#ifndef SOL_DEPRECATE_HPP
|
||||||
#define SOL_DEPRECATE_HPP
|
#define SOL_DEPRECATE_HPP
|
||||||
|
|
||||||
#ifndef DEPRECATE
|
#ifndef SOL_DEPRECATED
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define DEPRECATE __declspec(deprecated)
|
#define SOL_DEPRECATED __declspec(deprecated)
|
||||||
#elif __GNUC__
|
#elif __GNUC__
|
||||||
#define DEPRECATE __attribute__((deprecated))
|
#define SOL_DEPRECATED __attribute__((deprecated))
|
||||||
#else
|
#else
|
||||||
#define DEPRECATE [[deprecated]]
|
#define SOL_DEPRECATED [[deprecated]]
|
||||||
#endif // VC++ || GCC || Others
|
#endif // compilers
|
||||||
#endif // DEPRECATE
|
#endif // SOL_DEPRECATED
|
||||||
|
|
||||||
#endif // SOL_DEPRECATE_HPP
|
#endif // SOL_DEPRECATE_HPP
|
Loading…
Reference in New Issue
Block a user