diff options
| author | 2016-07-26 01:34:49 +0200 | |
|---|---|---|
| committer | 2016-07-26 01:34:49 +0200 | |
| commit | 70f0bda9c78fd6260ccc2e68dbac4d3994ab71c0 (patch) | |
| tree | 7451ad09fd902902bb157ac6435b124d01136c0c /3rdparty | |
| parent | ca5d34be0f10b9cf718d878f0f0d025d79da4325 (diff) | |
Detect GNU/Hurd systems, but treat them as Linux.
Diffstat (limited to '3rdparty')
| -rw-r--r-- | 3rdparty/genie/makefile | 2 | ||||
| -rw-r--r-- | 3rdparty/genie/src/host/premake.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/genie/makefile b/3rdparty/genie/makefile index e62bacb22da..1653c27bc74 100644 --- a/3rdparty/genie/makefile +++ b/3rdparty/genie/makefile @@ -4,7 +4,7 @@ # UNAME := $(shell uname) -ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin SunOS FreeBSD GNU/kFreeBSD NetBSD OpenBSD)) +ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin SunOS FreeBSD GNU/kFreeBSD NetBSD OpenBSD GNU)) ifeq ($(UNAME),$(filter $(UNAME),Darwin)) OS=darwin else diff --git a/3rdparty/genie/src/host/premake.h b/3rdparty/genie/src/host/premake.h index f52e8ea3874..414da1500ff 100644 --- a/3rdparty/genie/src/host/premake.h +++ b/3rdparty/genie/src/host/premake.h @@ -12,7 +12,7 @@ /* Identify the current platform I'm not sure how to reliably detect * Windows but since it is the most common I use it as the default */ -#if defined(__linux__) +#if defined(__linux__) || defined(__GNU__) #define PLATFORM_LINUX (1) #define PLATFORM_STRING "linux" #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) |
