[libcxx-commits] [libcxx] [FIX] Fix the function 'isctype' failed in arm64-be (PR #72992)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 21 18:41:12 PST 2023
================
@@ -372,7 +372,7 @@ public:
#else
static const mask __regex_word = 1<<10;
#endif // defined(__BIONIC__)
-#elif defined(__GLIBC__)
+#elif defined(__GLIBC__) || defined(__BIG_ENDIAN__)
----------------
W-50243 wrote:
I found the relevant changes:[D17132](https://reviews.llvm.org/D17132l), In this changes, the value of __regex_word is determined by whether the GLIBC is defined to determine whether the value is big-endian.
https://github.com/llvm/llvm-project/pull/72992
More information about the libcxx-commits
mailing list