diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h index f5a9a7fe9..4883ba225 100644 --- a/Foundation/include/Poco/Platform.h +++ b/Foundation/include/Poco/Platform.h @@ -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 diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h index 0a222c77d..de529b6cd 100644 --- a/Foundation/src/utils.h +++ b/Foundation/src/utils.h @@ -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__)