Permalink
Browse files

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

  • Loading branch information...
psychonic committed Nov 9, 2016
1 parent 0509616 commit 46846712d4aa101ff51173bf98560abd81528670
Showing with 1 addition and 1 deletion.
  1. +1 −1 loader/loader.cpp
View
@@ -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"

0 comments on commit 4684671

Please sign in to comment.