1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

add support for the HURD

This commit is contained in:
josch
2014-11-17 13:15:50 +01:00
parent a96b5e7905
commit 5c356f4415
2 changed files with 5 additions and 1 deletions

View File

@@ -61,6 +61,10 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
# define VCMI_UNIX
# define VCMI_XDG
# define VCMI_FREEBSD
#elif defined(__GNU__) || defined(__gnu_hurd__) || (defined(__MACH__) && !defined(__APPLE))
# define VCMI_UNIX
# define VCMI_XDG
# define VCMI_HURD
#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) && !defined(VCMI_FREEBSD)
#elif !defined(VCMI_APPLE) && !defined(VCMI_FREEBSD) && !defined(VCMI_HURD)
#include <sys/prctl.h>
#endif
/*