X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fmacros.h;h=f6f975d1453d7ffa89deb2e4e97f55afafee514c;hb=31fa4745f181bd1bdbceb89fbe27e130f5b4e2b9;hp=1771d236c2daa3eeea5a807bef5ddc83cbb6d677;hpb=54c90d10655e559818665234f29d5d01c8640ee7;p=lttng-tools.git diff --git a/src/common/macros.h b/src/common/macros.h index 1771d236c..f6f975d14 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -64,4 +64,8 @@ #define LTTNG_PACKED __attribute__((__packed__)) #endif +#ifndef LTTNG_HIDDEN +#define LTTNG_HIDDEN __attribute__((visibility("hidden"))) +#endif + #endif /* _MACROS_H */