Add LTTNG_HIDDEN macro for hidden attribute
authorDavid Goulet <dgoulet@efficios.com>
Fri, 25 Jan 2013 17:02:06 +0000 (12:02 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 25 Jan 2013 17:02:06 +0000 (12:02 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/macros.h

index 1771d236c2daa3eeea5a807bef5ddc83cbb6d677..f6f975d1453d7ffa89deb2e4e97f55afafee514c 100644 (file)
@@ -64,4 +64,8 @@
 #define LTTNG_PACKED __attribute__((__packed__))
 #endif
 
+#ifndef LTTNG_HIDDEN
+#define LTTNG_HIDDEN __attribute__((visibility("hidden")))
+#endif
+
 #endif /* _MACROS_H */
This page took 0.026265 seconds and 4 git commands to generate.