diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-03-07 10:43:38 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-03-15 13:54:18 +0400 |
commit | a00f66ab9b3021e781695a73c579b6292501ab37 (patch) | |
tree | f1477e5e8d26c4bd7aba5e9b4031b9a644de136e | |
parent | 69df1c3c9d937a2b4f005a5bad0fefd21b39f383 (diff) |
configure: Don't use __int128_t for clang versions before 3.2
Those versions don't fully support __int128_t.
Cc: qemu-stable@nongnu.org
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3822,6 +3822,11 @@ fi int128=no cat > $TMPC << EOF +#if defined(__clang_major__) && defined(__clang_minor__) +# if ((__clang_major__ < 3) || (__clang_major__ == 3) && (__clang_minor__ < 2)) +# error __int128_t does not work in CLANG before 3.2 +# endif +#endif __int128_t a; __uint128_t b; int main (void) { |