12 Dec
2025
12 Dec
'25
4:58 a.m.
On Wed Dec 10 23:40:04 2025 +0000, Jacek Caban wrote:
It would be nice to import it from msvcrt or ucrtbase when possible. Could we add this, along with the `initterm_e` fallback implementation, to the ntdll importlib? That way we would use the static version only when the function is not available otherwise. uhmm, i think i am not getting it.
if we add this to `libntdll.a`, won't that conflict with msvcrt if it also provides this symbol? i had to add these to winecrt0 because i don't know which version of msvcrt libwinecrt0 will be linked with. i don't know how to selectively use the version from msvcrt only if it's available. :thinking: -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9265#note_125506