aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-helper.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-18 01:50:10 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-18 01:50:10 +0200
commit132d5fad266b1af8ea0cc61c8d55192113f14e2b (patch)
tree094f320da925c488bf452cece7518e49985adafb /src/lib/gamma-helper.c
parentadd missing _error suffix (diff)
downloadlibgamma-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/gamma-helper.c')
-rw-r--r--src/lib/gamma-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/gamma-helper.c b/src/lib/gamma-helper.c
index b674ac9..45a38b5 100644
--- a/src/lib/gamma-helper.c
+++ b/src/lib/gamma-helper.c
@@ -55,7 +55,7 @@ static inline uint64_t float_to_64(float value)
{
/* XXX Which is faster? */
-#ifdef __GNUC__
+#ifdef __GCC__
/* `__int128` is a GNU C extension, which
(because it is not ISO C) emits a warning
under -pedantic. */
@@ -121,7 +121,7 @@ static inline uint64_t double_to_64(double value)
{
/* XXX Which is faster? */
-#ifdef __GNUC__
+#ifdef __GCC__
/* `__int128` is a GNU C extension, which
(because it is not ISO C) emits a warning
under -pedantic. */