From 30da60ab6b58050980846d59e896febd0797d92b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 6 Feb 2019 09:21:16 +0100 Subject: [PATCH] utils: add SPA_EXPORT --- spa/include/spa/utils/defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spa/include/spa/utils/defs.h b/spa/include/spa/utils/defs.h index df2b0d6cd..f67fa09f8 100644 --- a/spa/include/spa/utils/defs.h +++ b/spa/include/spa/utils/defs.h @@ -145,10 +145,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))