Skip to content
Browse files

Fix loader's CreateInterface not being exported with GCC 5 and later.

  • Loading branch information
psychonic committed Nov 9, 2016
1 parent 8b3c2e8 commit b189876d9a9dcf5b3d2bba5a7f52b4c9aca93e97
Showing with 1 addition and 1 deletion.
  1. +1 −1 loader/loader.cpp
@@ -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")))
#define EXPORT extern "C"

0 comments on commit b189876

Please sign in to comment.
You can’t perform that action at this time.