mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Detect GNU/Hurd systems, but treat them as Linux.
This commit is contained in:
parent
ca5d34be0f
commit
70f0bda9c7
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 New Issue
Block a user