mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Fix loader's CreateInterface not being exported with GCC 5 and later.
This commit is contained in:
parent
0509616baf
commit
46846712d4
@ -146,7 +146,7 @@ mm_UnloadMetamodLibrary()
|
||||
#if defined _WIN32
|
||||
#define EXPORT extern "C" __declspec(dllexport)
|
||||
#elif defined __GNUC__
|
||||
#if __GNUC__ == 4
|
||||
#if __GNUC__ >= 4
|
||||
#define EXPORT extern "C" __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define EXPORT extern "C"
|
||||
|
Loading…
Reference in New Issue
Block a user