diff --git a/code/logic/fossil/tofu/tofu.h b/code/logic/fossil/tofu/tofu.h index 06139ee..8e22ecb 100644 --- a/code/logic/fossil/tofu/tofu.h +++ b/code/logic/fossil/tofu/tofu.h @@ -18,13 +18,12 @@ #include #include -#if !defined(__cplusplus) -#if __STDC_VERSION__ >= 201112L -#include +#if defined(__APPLE__) +#include // Use wchar.h on macOS +typedef wchar_t char16_t; +typedef wchar_t char32_t; #else -typedef unsigned short char16_t; -typedef unsigned int char32_t; -#endif +#include // Use uchar.h on other systems #endif /**