aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-native.hh
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-04 02:52:03 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-04 02:52:03 +0200
commit9ffe2602f5453998ae3b0caaa04abdee84b77fc6 (patch)
tree4552f588947e5eab504f215156e2bb5680a7c41f /src/libgamma-native.hh
parentadd install and uninstall rules (diff)
downloadlibgammamm-9ffe2602f5453998ae3b0caaa04abdee84b77fc6.tar.gz
libgammamm-9ffe2602f5453998ae3b0caaa04abdee84b77fc6.tar.bz2
libgammamm-9ffe2602f5453998ae3b0caaa04abdee84b77fc6.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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
}