From a9ed4b68dd8df9a4dbf129fe84e89fad5c9ae585 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 9 Jan 2025 15:00:55 -0500 Subject: [PATCH] [libc++][NFC] Use uint32_t instead of __uint32_t on Apple We had a 15 year old occurence of __uint32_t, likely from a time when uint32_t was not available everywhere. --- libcxx/include/__locale | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/__locale b/libcxx/include/__locale index 94dc8a08437bf..8bedd113fb591 100644 --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -348,7 +348,7 @@ public: # define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_ALPHA #elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) # ifdef __APPLE__ - typedef __uint32_t mask; + typedef uint32_t mask; # elif defined(__FreeBSD__) typedef unsigned long mask; # elif defined(__NetBSD__)