fixed #ifdef error about char8_t

This commit is contained in:
hyzboy 2024-09-26 02:31:07 +08:00
parent 0a0f885c75
commit 0a2ca9272e

View File

@ -220,9 +220,9 @@ namespace hgl
||ch=='\v'); ||ch=='\v');
} }
#ifdef char8_t #ifdef HGL_SUPPORT_CHAR8_T
template<> template<>
inline const bool isspace(const char8_t ch) inline const bool isspace(const char8_t &ch)
{ {
return(ch==0 return(ch==0
||ch==u8' ' //半角空格 ||ch==u8' ' //半角空格