sources/basics.h

changeset 189
248d0b85cbda
parent 181
e254398fcc7c
child 190
90bf9049e5eb
--- a/sources/basics.h	Wed Jan 27 19:01:37 2021 +0200
+++ b/sources/basics.h	Wed Jan 27 19:27:23 2021 +0200
@@ -125,4 +125,10 @@
 
 struct Exitception {};
 
+#ifdef __GNUC__
+# define GNUATTRIBUTE(X) __attribute__(X)
+#else
+# define GNUATTRIBUTE(X)
+#endif
+
 END_ZFC_NAMESPACE

mercurial