From bb4c73b25c8451784ec3c1c0f38691d9604b7605 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 1 Jul 2019 05:47:38 +0300 Subject: [PATCH] engine: build: lower case operating system names --- engine/common/build.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/engine/common/build.c b/engine/common/build.c index 702d79c7..6e99ff95 100644 --- a/engine/common/build.c +++ b/engine/common/build.c @@ -64,23 +64,23 @@ const char *Q_buildos( void ) const char *osname; #if XASH_MINGW - osname = "Win32-MinGW"; + osname = "win32-mingw"; #elif XASH_WIN32 - osname = "Win32"; + osname = "win32"; #elif XASH_ANDROID - osname = "Android"; + osname = "android"; #elif XASH_LINUX - osname = "Linux"; + osname = "linux"; #elif XASH_APPLE - osname = "Apple"; + osname = "apple"; #elif XASH_FREEBSD - osname = "FreeBSD"; + osname = "freebsd"; #elif XASH_NETBSD - osname = "NetBSD"; + osname = "netbsd"; #elif XASH_OPENBSD - osname = "OpenBSD"; + osname = "openbsd"; #elif XASH_EMSCRIPTEN - osname = "Emscripten"; + osname = "emscripten"; #else #error "Place your operating system name here! If this is a mistake, try to fix conditions above and report a bug" #endif