https://git.reactos.org/?p=reactos.git;a=commitdiff;h=90dad446b7ac43ad54c538...
commit 90dad446b7ac43ad54c538ac40d7b872d47b6084 Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Wed Oct 16 14:13:59 2024 +0300 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Thu Jan 16 14:18:53 2025 +0200
[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. --- sdk/lib/ucrt/inc/corecrt_internal_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/lib/ucrt/inc/corecrt_internal_traits.h b/sdk/lib/ucrt/inc/corecrt_internal_traits.h index d84107e72d7..71f38ab32e7 100644 --- a/sdk/lib/ucrt/inc/corecrt_internal_traits.h +++ b/sdk/lib/ucrt/inc/corecrt_internal_traits.h @@ -112,7 +112,7 @@ struct __crt_char_traits; _APPLY(tcspbrk, strpbrk, wcspbrk ) \ _APPLY(tcsrchr, strrchr, wcsrchr ) \ _APPLY(tcstoull, strtoull, wcstoull ) \ - _APPLY(tdupenv_s_crt, _dupenv_s_crt, _wdupenv_s_crt ) \ + _APPLY(tdupenv_s_crt, _dupenv_s, _wdupenv_s ) \ _APPLY(texecve, _execve, _wexecve ) \ _APPLY(tfdopen, _fdopen, _wfdopen ) \ _APPLY(tfullpath, _fullpath, _wfullpath ) \