diff options
-rw-r--r-- | src/libgamma-error.hh | 4 | ||||
-rw-r--r-- | src/libgamma-facade.hh | 4 | ||||
-rw-r--r-- | src/libgamma-method.hh | 4 | ||||
-rw-r--r-- | src/libgamma-native.hh | 5 |
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 } |