Bring back UNUSED, it's going to be needed for some stub functions.
This commit is contained in:
parent
dc232ad8e5
commit
fc4c279d0d
1 changed files with 7 additions and 0 deletions
|
@ -57,4 +57,11 @@ namespace std {
|
|||
|
||||
#endif
|
||||
|
||||
/* Macro for declaring function arguments unused. */
|
||||
#if defined(__GNUC__)
|
||||
# define UNUSED __attribute__((unused)) /* Flag variable as unused */
|
||||
#else /* not __GNUC__ */
|
||||
# define UNUSED
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue