https://git.reactos.org/?p=reactos.git;a=commitdiff;h=21bd607758c423fd3626a…
commit 21bd607758c423fd3626a5031d7780ee4a9721a4
Author: William Kent <wjk(a)sunsol.me>
AuthorDate: Fri May 13 12:58:25 2022 -0400
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Wed May 25 16:34:11 2022 +0300
[MKISOFS] Add ARM64 processor support
Also changed a "shouldn't-ever-happen" deliberate syntax error into a
proper #error.
CORE-17518
---
sdk/tools/mkisofs/schilytools/libmdigest/byte_order.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/tools/mkisofs/schilytools/libmdigest/byte_order.h
b/sdk/tools/mkisofs/schilytools/libmdigest/byte_order.h
index 66c76b50679..13477db421f 100644
--- a/sdk/tools/mkisofs/schilytools/libmdigest/byte_order.h
+++ b/sdk/tools/mkisofs/schilytools/libmdigest/byte_order.h
@@ -61,7 +61,7 @@ extern "C" {
__BYTE_ORDER == __LITTLE_ENDIAN) || \
defined(CPU_IA32) || defined(CPU_X64) || \
defined(__ia64) || defined(__ia64__) || defined(__alpha__) || defined(_M_ALPHA) || \
- defined(vax) || defined(MIPSEL) || defined(_ARM_)
+ defined(vax) || defined(MIPSEL) || defined(_ARM_) || defined(__arm64__)
#define CPU_LITTLE_ENDIAN
#define IS_BIG_ENDIAN 0
#define IS_LITTLE_ENDIAN 1
@@ -77,7 +77,7 @@ extern "C" {
#define IS_BIG_ENDIAN 1
#define IS_LITTLE_ENDIAN 0
#else
- error "Can't detect CPU architechture"
+#error "Can't detect CPU architechture"
#endif
#endif /* HAVE_C_BIGENDIAN */
@@ -169,7 +169,7 @@ static inline UInt64_t bswap_64(x)
return (r.ll);
}
#else
- error "bswap_64 unsupported"
+#error "bswap_64 unsupported"
#endif
#ifdef CPU_BIG_ENDIAN