aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-helper.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-08 17:14:26 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-08 17:14:26 +0200
commit3b2fe57c7d7bf7ecc1e19d112f7ddd63b0eb7139 (patch)
tree7c6cf8ae63d836b290942ef18d121483cf2eca18 /src/lib/gamma-helper.c
parenttypo + grammaro (diff)
downloadlibgamma-3b2fe57c7d7bf7ecc1e19d112f7ddd63b0eb7139.tar.gz
libgamma-3b2fe57c7d7bf7ecc1e19d112f7ddd63b0eb7139.tar.bz2
libgamma-3b2fe57c7d7bf7ecc1e19d112f7ddd63b0eb7139.tar.xz
misc
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 45a38b5..d30e5ab 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 __GCC__
+#ifdef HAVE_INT128
/* `__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 __GCC__
+#ifdef HAVE_INT128
/* `__int128` is a GNU C extension, which
(because it is not ISO C) emits a warning
under -pedantic. */