summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/ubsan/ubsan_value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/ubsan/ubsan_value.h b/compiler-rt/lib/ubsan/ubsan_value.h
index e92b2d6fcc1..a85579106ea 100644
--- a/compiler-rt/lib/ubsan/ubsan_value.h
+++ b/compiler-rt/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__) || _LP64
+#if defined(__clang__) || __SIZEOF_INT128__
typedef __int128 s128;
typedef unsigned __int128 u128;
#define HAVE_INT128_T 1
OpenPOWER on IntegriCloud