mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
feat(Platform): LoongArch support #3460
This commit is contained in:
parent
6ab38be5b0
commit
0df6a6a7d9
@ -234,6 +234,9 @@
|
||||
#define POCO_ARCH POCO_ARCH_RISCV32
|
||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||
#endif
|
||||
#elif defined(__loongarch64)
|
||||
#define POCO_ARCH POCO_ARCH_LOONGARCH64
|
||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -101,6 +101,7 @@ int main(int argc, char** argv) {
|
||||
defined(_MIPS_ARCH_MIPS32R2) || defined(__ARMEB__) ||\
|
||||
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
|
||||
defined(__riscv) || \
|
||||
defined(__loongarch64) || \
|
||||
defined(__or1k__) || defined(__arc__) || \
|
||||
defined(__EMSCRIPTEN__) || \
|
||||
defined(nios2) || defined(__nios2) || defined(__nios2__)
|
||||
|
Loading…
Reference in New Issue
Block a user