diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-10-25 21:32:39 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-10-25 21:32:39 +0200 |
commit | a5531ab069e3d0971e0902aa56ea9061828e9e86 (patch) | |
tree | e3aa88901a1f6560cf886b9503b9f37068447cb0 /src/lib/gamma-helper.c | |
parent | update dist (diff) | |
download | libgamma-a5531ab069e3d0971e0902aa56ea9061828e9e86.tar.gz libgamma-a5531ab069e3d0971e0902aa56ea9061828e9e86.tar.bz2 libgamma-a5531ab069e3d0971e0902aa56ea9061828e9e86.tar.xz |
int128 is not supported on 32-bit platforms
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/gamma-helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/gamma-helper.c b/src/lib/gamma-helper.c index e1386e0..31ba3fc 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 HAVE_INT128 +#if defined(HAVE_INT128) && __WORDSIZE == 64 /* `__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 HAVE_INT128 +#if defined(HAVE_INT128) && __WORDSIZE == 64 /* `__int128` is a GNU C extension, which (because it is not ISO C) emits a warning under -pedantic. */ |