mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
Merge pull request #4 from smcv/hurd
Add support for the GNU/Hurd architecture
This commit is contained in:
commit
6a03817a9c
2 changed files with 5 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -325,7 +325,7 @@ MKDIR=mkdir
|
||||||
EXTRA_FILES=
|
EXTRA_FILES=
|
||||||
CLIENT_EXTRA_FILES=
|
CLIENT_EXTRA_FILES=
|
||||||
|
|
||||||
ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
|
ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu"))
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
LIB=lib64
|
LIB=lib64
|
||||||
|
|
|
@ -169,14 +169,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
//================================================================= LINUX ===
|
//================================================================= LINUX ===
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
|
||||||
|
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#define OS_STRING "linux"
|
#define OS_STRING "linux"
|
||||||
#else
|
#elif defined(__FreeBSD_kernel__)
|
||||||
#define OS_STRING "kFreeBSD"
|
#define OS_STRING "kFreeBSD"
|
||||||
|
#else
|
||||||
|
#define OS_STRING "GNU"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ID_INLINE inline
|
#define ID_INLINE inline
|
||||||
|
|
Loading…
Reference in a new issue