Skip to content

Commit

Permalink
Windows: rely on Windows wchar to avoid panic.
Browse files Browse the repository at this point in the history
Will fail in fopen() for get key material file()
  • Loading branch information
lundman authored and andrewc12 committed Sep 23, 2022
1 parent bcdb25a commit 38f3e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/os/windows/libregex/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 38f3e6f

Please sign in to comment.