aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-native.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma-native.hh')
-rw-r--r--src/libgamma-native.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libgamma-native.hh b/src/libgamma-native.hh
index e1545a4..be86743 100644
--- a/src/libgamma-native.hh
+++ b/src/libgamma-native.hh
@@ -30,6 +30,11 @@ extern "C"
# include <libgamma.h>
# undef this
# undef restrict
+# ifndef __GCC__
+# ifdef __attribute__
+# undef __attribute__
+# endif
+# endif
}