summaryrefslogtreecommitdiff
path: root/gwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'gwm.h')
-rw-r--r--gwm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gwm.h b/gwm.h
index 608aaad..5ae7468 100644
--- a/gwm.h
+++ b/gwm.h
@@ -33,6 +33,11 @@
#define PURE __attribute__((pure))
#endif
+#if HAVE_INIT_SECTION
+#define INIT __attribute__((section( ".gwminit.text" ) ))
+#define INITD __attribute__((section( ".gwminit.rodata" ) ))
+#endif
+
#define SEND_EVENT_MASK 0x80
extern MALLOC void *xmalloc( size_t size );