mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 06:54:23 +02:00
15 lines
482 B
Diff
15 lines
482 B
Diff
diff --git a/third_party/rapidyaml/ryml_all.hpp b/third_party/rapidyaml/ryml_all.hpp
|
|
index e4b3275..00a4728 100644
|
|
--- a/third_party/rapidyaml/ryml_all.hpp
|
|
+++ b/third_party/rapidyaml/ryml_all.hpp
|
|
@@ -498,6 +498,10 @@ C4_FOR_EACH(PRN_STRUCT_OFFSETS, a, b, c);
|
|
#endif
|
|
#define C4_BYTE_ORDER _C4EL
|
|
|
|
+#elif defined(__loongarch64)
|
|
+ #define C4_CPU_LOONGARCH64
|
|
+ #define C4_WORDSIZE 8
|
|
+
|
|
#elif defined(__EMSCRIPTEN__)
|
|
# define C4_BYTE_ORDER _C4EL
|
|
# define C4_WORDSIZE 4
|