From 9ffe2602f5453998ae3b0caaa04abdee84b77fc6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 4 Sep 2014 02:52:03 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libgamma-error.hh | 4 ++++ src/libgamma-facade.hh | 4 ++++ src/libgamma-method.hh | 4 ++++ src/libgamma-native.hh | 5 +++++ 4 files changed, 17 insertions(+) (limited to 'src') 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 # undef this # undef restrict +# ifndef __GCC__ +# ifdef __attribute__ +# undef __attribute__ +# endif +# endif } -- cgit v1.2.3-70-g09d2