Linux project fixes.
This commit is contained in:
parent
3375076bea
commit
a134ea9d1a
6 changed files with 126 additions and 49 deletions
examples/common
17
examples/common/entry_linux.cpp
Normal file
17
examples/common/entry_linux.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright 2011-2012 Branimir Karadzic. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <bx/bx.h>
|
||||
|
||||
#if BX_PLATFORM_LINUX
|
||||
|
||||
extern int _main_(int _argc, char** _argv);
|
||||
|
||||
int main(int _argc, char** _argv)
|
||||
{
|
||||
return _main_(_argc, _argv);
|
||||
}
|
||||
|
||||
#endif // BX_PLATFORM_LINUX
|
Reference in a new issue