From 77a570d6beb4d7bc68333b7063cadcf69b891589 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 8 Jul 2020 10:48:16 +0800 Subject: [PATCH] add U32_TEXT macro --- inc/hgl/platform/os/CharType.h | 1 + inc/hgl/platform/os/MSWindows.h | 1 + 2 files changed, 2 insertions(+) diff --git a/inc/hgl/platform/os/CharType.h b/inc/hgl/platform/os/CharType.h index d35345b..bf4bdae 100644 --- a/inc/hgl/platform/os/CharType.h +++ b/inc/hgl/platform/os/CharType.h @@ -10,6 +10,7 @@ using os_char =char; #define OS_TEXT(str) u8##str #define U8_TEXT(str) u8##str #define U16_TEXT(str) u##str +#define U32_TEXT(str) U##str #define os_main main #define os_out std::cout diff --git a/inc/hgl/platform/os/MSWindows.h b/inc/hgl/platform/os/MSWindows.h index a68bce8..5155a4e 100644 --- a/inc/hgl/platform/os/MSWindows.h +++ b/inc/hgl/platform/os/MSWindows.h @@ -17,6 +17,7 @@ using os_char =wchar_t; #define OS_TEXT(str) L##str #define U8_TEXT(str) u8##str #define U16_TEXT(str) L##str +#define U32_TEXT(str) U##str #define os_main wmain #define os_out std::wcout