Browse Source

Platform: fix warning about undeclared function.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
78b52627c4
  1. 1
      src/Platform/NaClApplication.h

1
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<application>(); \
} \

Loading…
Cancel
Save