summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins/Unit/fixunssfti_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/builtins/Unit/fixunssfti_test.c')
-rw-r--r--compiler-rt/test/builtins/Unit/fixunssfti_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/fixunssfti_test.c b/compiler-rt/test/builtins/Unit/fixunssfti_test.c
index cc5e44ba59e..7965b9500d0 100644
--- a/compiler-rt/test/builtins/Unit/fixunssfti_test.c
+++ b/compiler-rt/test/builtins/Unit/fixunssfti_test.c
@@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
-#if __x86_64
-
#include "int_lib.h"
#include <stdio.h>
+#ifdef CRT_HAS_128BIT
+
// Returns: convert a to a unsigned long long, rounding toward zero.
// Negative values all become zero.
@@ -51,7 +51,7 @@ char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
int main()
{
-#if __x86_64
+#ifdef CRT_HAS_128BIT
if (test__fixunssfti(0.0F, 0))
return 1;
OpenPOWER on IntegriCloud