2 Jan
2024
2 Jan
'24
11:07 a.m.
This MR stems out from testing if an app may be detecting Wine presence by checking wine_get_version() entry point presence in ntdll. I had wished that simply commenting out the entry point in ntdll.spec would be sufficient. It isn't as 2 buitin DLLs directly link to wine_get_version(). This MR let them dynamically load the entry point's address. For the record, there are three other DLLs/programs which make use of wine_get_version(), but using dynamic loading. I can live without this MR being merged upstream, but looked a good idea: - to be consistent throughout the code - allow the simple comment in ntdll.spec to be possible. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4772