mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
automatically add needed dll override for Linux/macOS/Android (WINE)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user