diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:50:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:50:10 +0200 |
commit | 132d5fad266b1af8ea0cc61c8d55192113f14e2b (patch) | |
tree | 094f320da925c488bf452cece7518e49985adafb /src/lib/fake-quartz-cg.c | |
parent | add missing _error suffix (diff) | |
download | libgamma-132d5fad266b1af8ea0cc61c8d55192113f14e2b.tar.gz libgamma-132d5fad266b1af8ea0cc61c8d55192113f14e2b.tar.bz2 libgamma-132d5fad266b1af8ea0cc61c8d55192113f14e2b.tar.xz |
use, and define, __GCC__ rather than usign __GNUC__
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/fake-quartz-cg.c')
-rw-r--r-- | src/lib/fake-quartz-cg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/fake-quartz-cg.c b/src/lib/fake-quartz-cg.c index a3e405f..e52ef71 100644 --- a/src/lib/fake-quartz-cg.c +++ b/src/lib/fake-quartz-cg.c @@ -147,7 +147,7 @@ static uint16_t* restrict original_ramps = NULL; /* xcb violates the rule to never return struct:s. */ -#ifdef __GNUC__ +#ifdef __GCC__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Waggregate-return" #endif @@ -364,7 +364,7 @@ uint32_t CGDisplayGammaTableCapacity(CGDirectDisplayID display) } -#ifdef __GNUC__ +#ifdef __GCC__ # pragma GCC diagnostic pop #endif |