diff --git a/examples/common/entry_emscripten.cpp b/examples/common/entry_emscripten.cpp index d6f2113c7..63c7fcc95 100644 --- a/examples/common/entry_emscripten.cpp +++ b/examples/common/entry_emscripten.cpp @@ -11,6 +11,17 @@ #include #include +#include "entry.h" + +namespace entry +{ + Event::Enum poll() + { + return Event::Nop; + } + +} // namespace entry + extern int _main_(int _argc, char** _argv); static jmp_buf s_main; diff --git a/examples/common/entry_linux.cpp b/examples/common/entry_linux.cpp index 8b1c8e0c1..112e16f87 100644 --- a/examples/common/entry_linux.cpp +++ b/examples/common/entry_linux.cpp @@ -7,6 +7,17 @@ #if BX_PLATFORM_LINUX +#include "entry.h" + +namespace entry +{ + Event::Enum poll() + { + return Event::Nop; + } + +} // namespace entry + extern int _main_(int _argc, char** _argv); int main(int _argc, char** _argv) diff --git a/examples/common/entry_nacl.cpp b/examples/common/entry_nacl.cpp index bf4016e39..6d8946681 100644 --- a/examples/common/entry_nacl.cpp +++ b/examples/common/entry_nacl.cpp @@ -23,6 +23,17 @@ #include #include "dbg.h" +#include "entry.h" + +namespace entry +{ + Event::Enum poll() + { + return Event::Nop; + } + +} // namespace entry + extern int _main_(int _argc, char** _argv); static void* _entry_(void*) diff --git a/examples/common/entry_osx.cpp b/examples/common/entry_osx.cpp index ad617875e..4ff368100 100644 --- a/examples/common/entry_osx.cpp +++ b/examples/common/entry_osx.cpp @@ -7,6 +7,17 @@ #if BX_PLATFORM_OSX +#include "entry.h" + +namespace entry +{ + Event::Enum poll() + { + return Event::Nop; + } + +} // namespace entry + extern int _main_(int _argc, char** _argv); int main(int _argc, char** _argv)