Skip to content

Commit 90dad44

Browse files
committed
[UCRT] Fix GCC build of __crt_char_traits
This is a workaround for GCC. It will disable debugging for tdupenv_s_crt. How it works on MSVC? Magic.
1 parent 693f9f5 commit 90dad44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/ucrt/inc/corecrt_internal_traits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct __crt_char_traits;
112112
_APPLY(tcspbrk, strpbrk, wcspbrk ) \
113113
_APPLY(tcsrchr, strrchr, wcsrchr ) \
114114
_APPLY(tcstoull, strtoull, wcstoull ) \
115-
_APPLY(tdupenv_s_crt, _dupenv_s_crt, _wdupenv_s_crt ) \
115+
_APPLY(tdupenv_s_crt, _dupenv_s, _wdupenv_s ) \
116116
_APPLY(texecve, _execve, _wexecve ) \
117117
_APPLY(tfdopen, _fdopen, _wfdopen ) \
118118
_APPLY(tfullpath, _fullpath, _wfullpath ) \

0 commit comments

Comments
 (0)