Added dummy entry poll for all platforms.

This commit is contained in:
bkaradzic 2013-01-13 11:20:56 -08:00
parent fec7dcdee3
commit b9e9fb77cc
4 changed files with 44 additions and 0 deletions

View file

@ -11,6 +11,17 @@
#include <alloca.h>
#include <setjmp.h>
#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;

View file

@ -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)

View file

@ -23,6 +23,17 @@
#include <bgfxplatform.h>
#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*)

View file

@ -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)