aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/common.h b/plugins/common.h
index b49ad945..f1358380 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -208,9 +208,9 @@ enum {
# define bindtextdomain(Domainname, Dirname) /* empty */
#endif
-/* For non-GNU/non-clang compilers to ignore __attribute__ */
-#if !defined(__GNUC__) && !defined(__CLANG__)
-# define __attribute__(noreturn) /* do nothing */
+/* For non-GNU compilers to ignore __attribute__ */
+#ifndef __GNUC__
+# define __attribute__(x) /* do nothing */
#endif
#endif /* _COMMON_H_ */