Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 5b518f9

Browse files
authored
Merge pull request #33 from glaubitz/sparc64
Use platform-independent preprocessor macros for sparc64
2 parents 94d826d + 924d6d2 commit 5b518f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/builtins/int_lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
* Presumably it's any version of GCC, and targeting an arch that
9090
* does not have dedicated bit counting instructions.
9191
*/
92-
#if (defined(__sparc64__) || defined(__sparcv9) || defined(__mips_n64) || defined(__mips_o64) || defined(__riscv__) \
92+
#if ((defined(__sparc__) || defined(__arch64__)) || defined(__mips_n64) || defined(__mips_o64) || defined(__riscv__) \
9393
|| (defined(_MIPS_SIM) && ((_MIPS_SIM == _ABI64) || (_MIPS_SIM == _ABIO64))))
9494
si_int __clzsi2(si_int);
9595
si_int __ctzsi2(si_int);

0 commit comments

Comments
 (0)