mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +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
|
#if defined _WIN32
|
||||||
#define EXPORT extern "C" __declspec(dllexport)
|
#define EXPORT extern "C" __declspec(dllexport)
|
||||||
#elif defined __GNUC__
|
#elif defined __GNUC__
|
||||||
#if __GNUC__ == 4
|
#if __GNUC__ >= 4
|
||||||
#define EXPORT extern "C" __attribute__ ((visibility("default")))
|
#define EXPORT extern "C" __attribute__ ((visibility("default")))
|
||||||
#else
|
#else
|
||||||
#define EXPORT extern "C"
|
#define EXPORT extern "C"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user