Use limits.h for the standard definition of WCHAR_MAX
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
16bf8b38ea
commit
96135ff808
@ -1,7 +1,8 @@
|
||||
#include <limits.h>
|
||||
#include <luna/CString.h>
|
||||
#include <luna/Utf8.h>
|
||||
|
||||
static_assert(__WCHAR_MAX__ > 0x10ffff);
|
||||
static_assert(WCHAR_MAX > 0x10ffff);
|
||||
|
||||
static Result<usize> utf8_char_length(char c)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user