From e8b3c44de3214c5bcb466d005dce744f21f81da5 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Wed, 23 Jul 2025 15:09:55 +0200 Subject: [PATCH] Add a "wchar" type. --- lib/std/libc/libc.c3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/std/libc/libc.c3 b/lib/std/libc/libc.c3 index a8df60614..0874d6464 100644 --- a/lib/std/libc/libc.c3 +++ b/lib/std/libc/libc.c3 @@ -8,6 +8,9 @@ const int EXIT_FAILURE = 1; const int EXIT_SUCCESS = 0; const int RAND_MAX = 0x7fffffff; +alias WChar @if(env::WIN32) = Char16; +alias WChar @if(!env::WIN32) = Char32; + struct DivResult { CInt quot;