From 3169d8e1116ffac177e9962ff91fc992ac2eded9 Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Thu, 30 Jun 2022 16:53:04 +0900 Subject: [PATCH] Windows: rely on Windows wchar to avoid panic. Will fail in fopen() for get key material file() --- lib/os/windows/libregex/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/os/windows/libregex/utils.h b/lib/os/windows/libregex/utils.h index 8ab5459c7272..bae83c4d2521 100644 --- a/lib/os/windows/libregex/utils.h +++ b/lib/os/windows/libregex/utils.h @@ -57,8 +57,8 @@ typedef short wctype_t; #define towlower(a) tolower(a) extern wctype_t __regex_wctype(const char *); extern int __regex_iswctype(wint_t, wctype_t); -#define wctype(s) __regex_wctype(s) -#define iswctype(c, t) __regex_iswctype((c), (t)) +// #define wctype(s) __regex_wctype(s) +// #define iswctype(c, t) __regex_iswctype((c), (t)) #endif /* utility definitions */