diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:04:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:04:06 +0200 |
commit | a8a58d1c98cfc5ca4918a577acc461bc0588c19b (patch) | |
tree | 53638932fc037e4f652c2ccf2a1f3750417e8717 /src/lib/fake-quartz-cg.h | |
parent | python2 can be used (diff) | |
download | libgamma-a8a58d1c98cfc5ca4918a577acc461bc0588c19b.tar.gz libgamma-a8a58d1c98cfc5ca4918a577acc461bc0588c19b.tar.bz2 libgamma-a8a58d1c98cfc5ca4918a577acc461bc0588c19b.tar.xz |
remove __attribute__ if not using gcc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/fake-quartz-cg.h')
-rw-r--r-- | src/lib/fake-quartz-cg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/fake-quartz-cg.h b/src/lib/fake-quartz-cg.h index 177bcd9..2a4630c 100644 --- a/src/lib/fake-quartz-cg.h +++ b/src/lib/fake-quartz-cg.h @@ -23,6 +23,11 @@ #endif +#ifndef __GNUC__ +# define __attribute__ +#endif + + /* This header file contains some capabilities of * <CoreGraphics/CGDirectDisplay.h> and <CoreGraphics/CGError.h>, * and can be used modify gamma ramps without Mac OS X and Quartz |