Skip to content

Commit

Permalink
Fix loader's CreateInterface not being exported with GCC 5 and later.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Nov 9, 2016
1 parent 8b3c2e8 commit b189876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/loader.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit b189876

Please sign in to comment.