diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index d9a30ad32..da9c6a497 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -475,6 +475,7 @@ When no other application header is included this macro is also aliased to /* look at that insane placement of __attribute__. WTF. */ #define MAGNUM_NACLAPPLICATION_MAIN(application) \ namespace pp { \ + Module __attribute__ ((visibility ("default"))) * CreateModule(); \ Module __attribute__ ((visibility ("default"))) * CreateModule() { \ return new Magnum::Platform::Implementation::NaClModule(); \ } \