Browse Source

Remove MSVC version of DEPRECATED macro.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
0610d944a0
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      include/common.hpp

+ 1
- 5
include/common.hpp View File

@@ -21,11 +21,7 @@ E.g.

DEPRECATED void foo();
*/
#if defined __GNUC__ || defined __clang__
#define DEPRECATED __attribute__((deprecated))
#elif defined _MSC_VER
#define DEPRECATED __declspec(deprecated)
#endif
#define DEPRECATED __attribute__((deprecated))

/** Attribute for private functions not intended to be called by plugins.
When #including rack.hpp, attempting to call PRIVATE functions will result in a compile-time error.


Loading…
Cancel
Save