[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 09:04:51 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__)
----------------
EricWF wrote:
It's strange to me that nothing else mentions endian-ness here. Is there a different macro we could also switch on?
https://github.com/llvm/llvm-project/pull/72992
More information about the libcxx-commits
mailing list