1
0
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:
josch 2014-11-17 12:25:10 +01:00
parent c36042f8c7
commit a96b5e7905
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -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
/*