mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
defs: add SPA_UNUSED
This commit is contained in:
parent
de22ca68da
commit
edd019d539
1 changed files with 2 additions and 0 deletions
|
|
@ -143,12 +143,14 @@ struct spa_fraction {
|
|||
#define SPA_DEPRECATED __attribute__ ((deprecated))
|
||||
#define SPA_EXPORT __attribute__((visibility("default")))
|
||||
#define SPA_SENTINEL __attribute__((__sentinel__))
|
||||
#define SPA_UNUSED __attribute__ ((unused))
|
||||
#else
|
||||
#define SPA_PRINTF_FUNC(fmt, arg1)
|
||||
#define SPA_ALIGNED(align)
|
||||
#define SPA_DEPRECATED
|
||||
#define SPA_EXPORT
|
||||
#define SPA_SENTINEL
|
||||
#define SPA_UNUSED
|
||||
#endif
|
||||
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue