diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:24:13 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:24:13 +0200 |
commit | d9df2815e3c3e32a6a36b0569920459cd1e686b4 (patch) | |
tree | 237a865072f5100d372fdc49f50c73b48ce54193 /src/libgamma-facade.hh | |
parent | add makefile (diff) | |
download | libgammamm-d9df2815e3c3e32a6a36b0569920459cd1e686b4.tar.gz libgammamm-d9df2815e3c3e32a6a36b0569920459cd1e686b4.tar.bz2 libgammamm-d9df2815e3c3e32a6a36b0569920459cd1e686b4.tar.xz |
fix warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma-facade.hh')
-rw-r--r-- | src/libgamma-facade.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libgamma-facade.hh b/src/libgamma-facade.hh index c52d7d8..c08521a 100644 --- a/src/libgamma-facade.hh +++ b/src/libgamma-facade.hh @@ -26,6 +26,12 @@ #include "libgamma-method.hh" +#ifndef __GCC__ +# define __attribute__(X) /* emtpy */ +#endif + + + namespace libgamma { /** @@ -49,7 +55,7 @@ namespace libgamma * @param method The adjustment method. * @return Whether the adjustment method is available. */ - int is_method_available(int method); + int is_method_available(int method) __attribute__((const)); /** * Return the capabilities of an adjustment method. |