[libcxx-commits] [libcxx] [FIX] Fix the function isctype failed in arm64-big-endian (PR #73200)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 23 07:01:20 PST 2023
================
@@ -384,7 +384,7 @@ public:
static const mask punct = _ISpunct;
static const mask xdigit = _ISxdigit;
static const mask blank = _ISblank;
-#if defined(__mips__)
+#if defined(__mips__) || (BYTE_ORDER == BIG_ENDIAN)
----------------
ldionne wrote:
I can't seem to find where the character mask you mention switches on `BYTE_ORDER` -- can you point out to me where this happens?
https://github.com/llvm/llvm-project/pull/73200
More information about the libcxx-commits
mailing list