utils: add SPA_EXPORT

This commit is contained in:
Wim Taymans 2019-02-06 09:21:16 +01:00
parent 371da358d1
commit dd3eb55aee

View file

@ -127,10 +127,12 @@ struct spa_fraction {
#define SPA_PRINTF_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))
#define SPA_ALIGNED(align) __attribute__((aligned(align)))
#define SPA_DEPRECATED __attribute__ ((deprecated))
#define SPA_EXPORT __attribute__ ((visibility("default")))
#else
#define SPA_PRINTF_FUNC(fmt, arg1)
#define SPA_ALIGNED(align)
#define SPA_DEPRECATED
#define SPA_EXPORT
#endif
#define SPA_ROUND_DOWN_N(num,align) ((num) & ~((align) - 1))