mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-04 07:27:23 +01:00
added RISC64 platform identification
This commit is contained in:
parent
c01aeb05e2
commit
38b77ecc88
@ -134,6 +134,7 @@
|
||||
#define POCO_ARCH_NIOS2 0x0e
|
||||
#define POCO_ARCH_AARCH64 0x0f
|
||||
#define POCO_ARCH_ARM64 0x0f // same as POCO_ARCH_AARCH64
|
||||
#define POCO_ARCH_RISCV64 0x10
|
||||
|
||||
|
||||
#if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
|
||||
@ -224,13 +225,16 @@
|
||||
#elif defined(__AARCH64EB__)
|
||||
#define POCO_ARCH POCO_ARCH_AARCH64
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#elif defined(__riscv) && (__riscv_xlen == 64)
|
||||
#define POCO_ARCH POCO_ARCH_RISCV64
|
||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define POCO_COMPILER_MSVC
|
||||
#elif defined(__clang__)
|
||||
#if defined(__clang__)
|
||||
#define POCO_COMPILER_CLANG
|
||||
#elif defined(_MSC_VER)
|
||||
#define POCO_COMPILER_MSVC
|
||||
#elif defined (__GNUC__)
|
||||
#define POCO_COMPILER_GCC
|
||||
#elif defined (__MINGW32__) || defined (__MINGW64__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user