split codes of "char type" to CharType.h
This commit is contained in:
@@ -2,15 +2,8 @@
|
||||
#define HGL_OS_BSD_INCLUDE
|
||||
|
||||
#include<limits.h>
|
||||
#include<hgl/platform/os/CharType.h>
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
using u32char =char32_t;
|
||||
using u16char =char16_t;
|
||||
using os_char =char;
|
||||
#define to_oschar to_u8
|
||||
#define OS_TEXT(str) u8##str
|
||||
#define U8_TEXT(str) u8##str
|
||||
#define U16_TEXT(str) u##str
|
||||
|
||||
#if defined(__FreeBSD__)||defined(__FreeBSD)
|
||||
#define HGL_OS_NAME OS_TEXT("FreeBSD")
|
||||
#define HGL_LIB_OS_NAME "FreeBSD"
|
||||
|
Reference in New Issue
Block a user