mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Detect GNU/Hurd systems, but treat them as Linux.
This commit is contained in:
parent
ca5d34be0f
commit
70f0bda9c7
2 changed files with 2 additions and 2 deletions
2
3rdparty/genie/makefile
vendored
2
3rdparty/genie/makefile
vendored
|
@ -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
|
||||
|
|
2
3rdparty/genie/src/host/premake.h
vendored
2
3rdparty/genie/src/host/premake.h
vendored
|
@ -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__)
|
||||
|
|
Loading…
Reference in a new issue