dep/rapidyaml: Fix LoongArch compile

pull/3705/head
Yang Liu 7 months ago committed by Connor McLaughlin
parent 8a7db2ad54
commit db0de91b98

@ -131,6 +131,16 @@
# endif
# define C4_BYTE_ORDER _C4EL
#elif defined(__loongarch__)
# if defined(__loongarch64)
# define C4_CPU_LOONGARCH64
# define C4_WORDSIZE 8
# else
# define C4_CPU_LOONGARCH
# define C4_WORDSIZE 4
# endif
# define C4_BYTE_ORDER _C4EL
#elif defined(__EMSCRIPTEN__)
# define C4_BYTE_ORDER _C4EL
# define C4_WORDSIZE 4

Loading…
Cancel
Save