1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 03:05:29 +02:00

Fix FTBFS on GNU/Hurd platform

Minetest fails to build on GNU/Hurd due to a name clash with OSX/Apple,
both are defining the __MACH__ keyword. This commit fixes the issue.
This commit is contained in:
Markus Koschany
2015-01-20 10:41:51 +01:00
committed by Craig Robbins
parent caf8d2a9d1
commit cfca5f99e6
6 changed files with 20 additions and 20 deletions

View File

@@ -45,7 +45,7 @@
#define __BYTE_ORDER 0
#define __LITTLE_ENDIAN 0
#define __BIG_ENDIAN 1
#elif __MACH__
#elif defined(__MACH__) && defined(__APPLE__)
#include <machine/endian.h>
#elif defined(__FreeBSD__)
#include <sys/endian.h>