summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/absvti2.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/compiler-rt/lib/absvti2.c')
-rw-r--r--contrib/compiler-rt/lib/absvti2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/compiler-rt/lib/absvti2.c b/contrib/compiler-rt/lib/absvti2.c
index c1c7277..437bc3d 100644
--- a/contrib/compiler-rt/lib/absvti2.c
+++ b/contrib/compiler-rt/lib/absvti2.c
@@ -14,7 +14,7 @@
#include "int_lib.h"
-#if __x86_64
+#ifdef CRT_HAS_128BIT
/* Returns: absolute value */
@@ -30,4 +30,5 @@ __absvti2(ti_int a)
return (a ^ s) - s;
}
-#endif
+#endif /* CRT_HAS_128BIT */
+
OpenPOWER on IntegriCloud