automatically add needed dll override for Linux/macOS/Android (WINE)

This commit is contained in:
FunkyFr3sh
2025-01-05 07:06:01 -03:00
committed by majcosta
parent f471b74f5b
commit fd6ffd8d69
4 changed files with 91 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef WINE_H
#define WINE_H
#define IS_WINE (GetProcAddress(GetModuleHandleA("ntdll.dll"), "wine_get_version") != 0)
// ### types ###
// ### Variables ###
// ### Functions ###
BOOL wine_add_dll_overrides();
BOOL wine_add_dll_override(const WCHAR* dll_name);
#endif