aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 0c21fbeb..3e892522 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -180,3 +180,8 @@ enum {
# define textdomain(Domain)
# define bindtextdomain(Package, Directory)
#endif
+
+/* For non-GNU compilers to ignore __attribute__ */
+#ifndef __GNUC__
+# define __attribute__(x) /* do nothing */
+#endif