mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 06:56:41 +02:00
Merge pull request #203 from willnewton/develop
Foundation/include/Poco/Platform.h: Add support for AArch64.
This commit is contained in:
commit
367dcb3b31
@ -145,6 +145,7 @@
|
||||
#define POCO_ARCH_S390 0x0c
|
||||
#define POCO_ARCH_SH 0x0d
|
||||
#define POCO_ARCH_NIOS2 0x0e
|
||||
#define POCO_ARCH_AARCH64 0x0f
|
||||
|
||||
|
||||
#if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
|
||||
@ -207,7 +208,12 @@
|
||||
#else
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#endif
|
||||
|
||||
#elif defined(__AARCH64EL__)
|
||||
#define POCO_ARCH POCO_ARCH_AARCH64
|
||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||
#elif defined(__AARCH64EB__)
|
||||
#define POCO_ARCH POCO_ARCH_AARCH64
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user