diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-07-10 19:24:46 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-07-10 19:24:46 +0200 |
| commit | 33fba8c749c6e0e064716dd98e53a4164fc9b249 (patch) | |
| tree | cca6523fd192aecdd7ca0b892e166fa3cf668fff /src/lib/libgamma-facade.h | |
| parent | typo (diff) | |
| download | libgamma-33fba8c749c6e0e064716dd98e53a4164fc9b249.tar.gz libgamma-33fba8c749c6e0e064716dd98e53a4164fc9b249.tar.bz2 libgamma-33fba8c749c6e0e064716dd98e53a4164fc9b249.tar.xz | |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/lib/libgamma-facade.h')
| -rw-r--r-- | src/lib/libgamma-facade.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/libgamma-facade.h b/src/lib/libgamma-facade.h index 343114c..a24c0e0 100644 --- a/src/lib/libgamma-facade.h +++ b/src/lib/libgamma-facade.h @@ -28,6 +28,10 @@ #include <stddef.h> #include <stdint.h> +#ifndef __GCC__ +# define __attribute__(x) +#endif + /** @@ -565,5 +569,9 @@ int libgamma_crtc_set_gamma_rampsd_f(libgamma_crtc_state_t* restrict this, libgamma_gamma_rampsd_fun* blue_function) __attribute__((cold)); +#ifndef __GCC__ +# undef __attribute__ +#endif + #endif |
