Skip to content

Commit ca52826

Browse files
committed
Fixing Windows ARM64 support
1 parent 8dcc0e6 commit ca52826

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/is_utf8.cpp

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -529,22 +529,12 @@ static inline uint32_t detect_supported_architectures() {
529529
return instruction_set::ALTIVEC;
530530
}
531531
532-
#elif defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
533-
534-
#if defined(__ARM_NEON)
532+
#elif defined(__aarch64__) || defined(_M_ARM64)
535533
536534
static inline uint32_t detect_supported_architectures() {
537535
return instruction_set::NEON;
538536
}
539537
540-
#else // ARM without NEON
541-
542-
static inline uint32_t detect_supported_architectures() {
543-
return instruction_set::DEFAULT;
544-
}
545-
546-
#endif
547-
548538
#elif defined(__x86_64__) || defined(_M_AMD64) // x64
549539
550540
namespace {

0 commit comments

Comments
 (0)