From 78b52627c4b9e543c53060c12e0f364405fe3930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Mar 2013 16:37:21 +0100 Subject: [PATCH] Platform: fix warning about undeclared function. --- src/Platform/NaClApplication.h | 1 + 1 file changed, 1 insertion(+) 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(); \ } \