diff options
Diffstat (limited to '')
-rw-r--r-- | src/libgamma-method.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libgamma-method.hh b/src/libgamma-method.hh index aedf6f6..d4bfed3 100644 --- a/src/libgamma-method.hh +++ b/src/libgamma-method.hh @@ -26,6 +26,12 @@ #include "libgamma-error.hh" +#ifndef __GCC__ +# define __attribute__(X) /* emtpy */ +#endif + + + namespace libgamma { /** @@ -102,7 +108,7 @@ namespace libgamma /** * Destructor. */ - ~MethodCapabilities(); + ~MethodCapabilities() __attribute__((const)); /** * Copy operator. |