aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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-error.hh4
-rw-r--r--src/libgamma-facade.hh4
-rw-r--r--src/libgamma-method.hh4
-rw-r--r--src/libgamma-native.hh5
4 files changed, 17 insertions, 0 deletions
diff --git a/src/libgamma-error.hh b/src/libgamma-error.hh
index 0bd0fce..b8e32c1 100644
--- a/src/libgamma-error.hh
+++ b/src/libgamma-error.hh
@@ -185,5 +185,9 @@ namespace libgamma
}
+#ifndef __GCC__
+# undef __attribute__
+#endif
+
#endif
diff --git a/src/libgamma-facade.hh b/src/libgamma-facade.hh
index c08521a..a2e235e 100644
--- a/src/libgamma-facade.hh
+++ b/src/libgamma-facade.hh
@@ -259,5 +259,9 @@ namespace libgamma
}
+#ifndef __GCC__
+# undef __attribute__
+#endif
+
#endif
diff --git a/src/libgamma-method.hh b/src/libgamma-method.hh
index 09a93bb..1ad8be5 100644
--- a/src/libgamma-method.hh
+++ b/src/libgamma-method.hh
@@ -1014,5 +1014,9 @@ namespace libgamma
}
+#ifndef __GCC__
+# undef __attribute__
+#endif
+
#endif
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
}