mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-21 19:37:00 +00:00
Make it easy to build Cemu on BSD (#1632)
This commit is contained in:
parent
955ce9b973
commit
4efa40c51c
41 changed files with 167 additions and 57 deletions
|
|
@ -36,7 +36,7 @@
|
|||
#if BOOST_OS_LINUX
|
||||
#define _putenv(__s) putenv((char*)(__s))
|
||||
#include <sys/sysinfo.h>
|
||||
#elif BOOST_OS_MACOS
|
||||
#elif BOOST_OS_MACOS || BOOST_OS_BSD
|
||||
#define _putenv(__s) putenv((char*)(__s))
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
|
@ -247,7 +247,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#if BOOST_OS_LINUX
|
||||
#if BOOST_OS_LINUX || BOOST_OS_BSD
|
||||
XInitThreads();
|
||||
#endif
|
||||
if (!LaunchSettings::HandleCommandline(argc, argv))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue