chiark / gitweb /
build-sys: allow cross-compilation
[elogind.git] / src / macro.h
index b3da60f13e51e926c967c5c07c0222080861a801..85a7fbccfdb4a8dd153780368859ebac08657047 100644 (file)
@@ -45,6 +45,7 @@
 #define _public_ __attribute__ ((visibility("default")))
 #define _hidden_ __attribute__ ((visibility("hidden")))
 #define _weakref_(x) __attribute__((weakref(#x)))
+#define _introspect_(x) __attribute__((section("introspect." x)))
 
 /* Rounds up */
 static inline size_t ALIGN(size_t l) {