diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-29 05:59:30 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-29 05:59:30 +0000 |
commit | e656184a2e20c0293cf838885204216cdf1db168 (patch) | |
tree | 0c2dbc67b970b51634d531444f68558d163e1aa2 /lib/ubsan/ubsan_value.h | |
parent | d3ca78fdb296d2a51fc224da673ebfff508acf44 (diff) | |
download | compiler-rt-e656184a2e20c0293cf838885204216cdf1db168.tar.gz |
ubsan: Don't assume that Clang provides __int128 unless it advertises that it does.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/ubsan_value.h')
-rw-r--r-- | lib/ubsan/ubsan_value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_value.h b/lib/ubsan/ubsan_value.h index 0c755ca97..21313fc36 100644 --- a/lib/ubsan/ubsan_value.h +++ b/lib/ubsan/ubsan_value.h @@ -23,7 +23,7 @@ #include "sanitizer_common/sanitizer_common.h" // FIXME: Move this out to a config header. -#if defined(__clang__) || __SIZEOF_INT128__ +#if __SIZEOF_INT128__ typedef __int128 s128; typedef unsigned __int128 u128; #define HAVE_INT128_T 1 |