Skip to content

Commit

Permalink
adding deprecation to MSC_VER
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Aug 8, 2024
1 parent 99ef8b2 commit 41dd801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/roaring/portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,8 @@ static inline uint32_t croaring_refcount_get(const croaring_refcount_t *val) {

#if defined(__GNUC__) || defined(__clang__)
#define CROARING_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
#define CROARING_DEPRECATED __declspec(deprecated)
#else
#define CROARING_DEPRECATED
#endif // defined(__GNUC__) || defined(__clang__)
Expand Down

0 comments on commit 41dd801

Please sign in to comment.