mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-03-27 14:22:12 +01:00
Fix loader's CreateInterface not being exported with GCC 5 and later.
This commit is contained in:
parent
8b3c2e8ca5
commit
b189876d9a
@ -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…
x
Reference in New Issue
Block a user