================
@@ -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)
----------------
W-50243 wrote:
Yes, that's it. Getting the character mask on arm64be and arm64le will run this
function`_LIBCPP_GET_C_LOCALE->__ctype_b`. The character mask obtained from
this is dependent on the endianness of current platform. For example, "-',
it's character mask is 0000010011000000 on arm64e while on arm64le is
1100000000000100
https://github.com/llvm/llvm-project/pull/73200
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits