fix: mingw-w64 compile on windows

added ldscript from metamod-p, so mingw-compiled binaries will load by vanilla hl engine (without metamod) without crashes
This commit is contained in:
jeefo 2023-03-25 15:59:11 +03:00
commit d6d3af5b02
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
3 changed files with 208 additions and 1 deletions

View file

@ -640,7 +640,7 @@ private:
#if defined (CR_WINDOWS)
# define DLSYM_FUNCTION GetProcAddress
# define DLCLOSE_FUNCTION FreeLibrary
# define DLSYM_RETURN FARPROC
# define DLSYM_RETURN PVOID
# define DLSYM_HANDLE HMODULE
#else
# define DLSYM_FUNCTION dlsym