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:
parent
073e69f587
commit
d6d3af5b02
3 changed files with 208 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue