mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
13 lines
503 B
Diff
13 lines
503 B
Diff
Add support for detecting more 64 bit systems
|
|
--- a/include/config.h 2025-04-26 15:36:45.000000000 +0200
|
|
+++ b/include/config.h 2025-04-28 07:51:17.146183042 +0200
|
|
@@ -172,7 +172,8 @@
|
|
|
|
/* 64bit arch MACRO */
|
|
#if (defined(__x86_64__) || defined(__arm64__) || defined(__aarch64__) || \
|
|
- (defined(__riscv) && __riscv_xlen == 64))
|
|
+ (defined(__riscv) && __riscv_xlen == 64) || defined(__powerpc64le__) || \
|
|
+ defined(__s390x__) || defined(__loongarch64))
|
|
#define WORD_SIZE_64 1
|
|
#endif
|
|
|