]> git.proxmox.com Git - qemu.git/commit
s390x: use CONFIG_INT128 to detect __uint128_t
authorGabriel Kerneis <gabriel@kerneis.info>
Tue, 23 Apr 2013 17:15:12 +0000 (18:15 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 26 Apr 2013 09:58:14 +0000 (11:58 +0200)
commitd49b8e0b299df3f0472945eb6d33b8413d102046
tree8eb0356260d29a7575b0a2c9f5d5f3c7c8119757
parent7edd2cf1a2eace84e3f8753e912449ae8871802f
s390x: use CONFIG_INT128 to detect __uint128_t

Target s390x uses ad-hoc macro magic to guess if the compiler
supports the GCC extension __uint128_t.  This patch uses the
the dedicated macro CONFIG_INT128 defined by configure instead.

This fixes compilation with the CIL source code analyzer, which
uses GCC as a preprocessor but does not support __uint128_t.

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
target-s390x/int_helper.c