mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Rename BRO_DEPRECATED macro to ZEEK_DEPRECATED
This commit is contained in:
parent
dfed213f31
commit
d3927d9266
4 changed files with 20 additions and 16 deletions
|
@ -4,12 +4,12 @@
|
|||
#define util_h
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define BRO_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
|
||||
#define ZEEK_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
|
||||
#elif defined(_MSC_VER)
|
||||
#define BRO_DEPRECATED(msg) __declspec(deprecated(msg)) func
|
||||
#define ZEEK_DEPRECATED(msg) __declspec(deprecated(msg)) func
|
||||
#else
|
||||
#pragma message("Warning: BRO_DEPRECATED macro not implemented")
|
||||
#define BRO_DEPRECATED(msg)
|
||||
#pragma message("Warning: ZEEK_DEPRECATED macro not implemented")
|
||||
#define ZEEK_DEPRECATED(msg)
|
||||
#endif
|
||||
|
||||
// Expose C99 functionality from inttypes.h, which would otherwise not be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue