summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/fixunsxfti.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/builtins/fixunsxfti.c')
-rw-r--r--compiler-rt/lib/builtins/fixunsxfti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/builtins/fixunsxfti.c b/compiler-rt/lib/builtins/fixunsxfti.c
index 260bfc01f64..db3c0706faa 100644
--- a/compiler-rt/lib/builtins/fixunsxfti.c
+++ b/compiler-rt/lib/builtins/fixunsxfti.c
@@ -14,7 +14,7 @@
#include "int_lib.h"
-#if __x86_64
+#ifdef CRT_HAS_128BIT
/* Returns: convert a to a unsigned long long, rounding toward zero.
* Negative values all become zero.
@@ -46,4 +46,4 @@ __fixunsxfti(long double a)
return r;
}
-#endif
+#endif /* CRT_HAS_128BIT */
OpenPOWER on IntegriCloud