mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
add support for FreeBSD
This commit is contained in:
parent
c36042f8c7
commit
a96b5e7905
4
Global.h
4
Global.h
@ -57,6 +57,10 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
|
||||
# ifdef __ANDROID__
|
||||
# define VCMI_ANDROID
|
||||
# endif
|
||||
#elif defined(__FreeBSD_kernel__) || defined(__FreeBSD__)
|
||||
# define VCMI_UNIX
|
||||
# define VCMI_XDG
|
||||
# define VCMI_FREEBSD
|
||||
#elif defined(__APPLE__) && defined(__MACH__)
|
||||
# define VCMI_UNIX
|
||||
# define VCMI_APPLE
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#ifdef VCMI_WINDOWS
|
||||
#include <windows.h>
|
||||
#elif !defined(VCMI_APPLE)
|
||||
#elif !defined(VCMI_APPLE) && !defined(VCMI_FREEBSD)
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user