summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {
180# define textdomain(Domain) 180# define textdomain(Domain)
181# define bindtextdomain(Package, Directory) 181# define bindtextdomain(Package, Directory)
182#endif 182#endif
183
184/* For non-GNU compilers to ignore __attribute__ */
185#ifndef __GNUC__
186# define __attribute__(x) /* do nothing */
187#endif