[libcxx-commits] [libcxx] d1a622d - [libc++][NFC] Use uint32_t instead of __uint32_t on Apple (#122356)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 13 06:10:55 PST 2025


Author: Louis Dionne
Date: 2025-01-13T09:10:52-05:00
New Revision: d1a622db1b1a93ac61f7f281605c4606b391f24a

URL: https://github.com/llvm/llvm-project/commit/d1a622db1b1a93ac61f7f281605c4606b391f24a
DIFF: https://github.com/llvm/llvm-project/commit/d1a622db1b1a93ac61f7f281605c4606b391f24a.diff

LOG: [libc++][NFC] Use uint32_t instead of __uint32_t on Apple (#122356)

We had a 15 year old occurence of __uint32_t, likely from a time when
uint32_t was not available everywhere.

Added: 
    

Modified: 
    libcxx/include/__locale

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__locale b/libcxx/include/__locale
index 01c3a2e3456ba1..e10eb62fb844b8 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__)


        


More information about the libcxx-commits mailing list