summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/popcountti2.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/compiler-rt/lib/popcountti2.c')
-rw-r--r--contrib/compiler-rt/lib/popcountti2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/compiler-rt/lib/popcountti2.c b/contrib/compiler-rt/lib/popcountti2.c
index 9566673..d7223d9 100644
--- a/contrib/compiler-rt/lib/popcountti2.c
+++ b/contrib/compiler-rt/lib/popcountti2.c
@@ -14,7 +14,7 @@
#include "int_lib.h"
-#if __x86_64
+#ifdef CRT_HAS_128BIT
/* Returns: count of 1 bits */
@@ -41,4 +41,4 @@ __popcountti2(ti_int a)
return (x + (x >> 8)) & 0xFF; /* (8 significant bits) */
}
-#endif
+#endif /* CRT_HAS_128BIT */
OpenPOWER on IntegriCloud