[libc-commits] [libc] [libc] Implement locale variants for 'stdlib.h' functions (PR #105718)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Aug 28 16:06:07 PDT 2024


================
@@ -17,6 +17,11 @@
 #define EXIT_SUCCESS 0
 #define EXIT_FAILURE 1
 
+#ifndef MB_CUR_MAX
+// We only support the "C" locale right now, so this is a constant byte.
+#define MB_CUR_MAX 1
----------------
michaelrj-google wrote:

Sounds good to me then

https://github.com/llvm/llvm-project/pull/105718


More information about the libc-commits mailing list