Browse Source

engine: build: lower case operating system names

pull/2/head
Alibek Omarov 6 years ago
parent
commit
bb4c73b25c
  1. 18
      engine/common/build.c

18
engine/common/build.c

@ -64,23 +64,23 @@ const char *Q_buildos( void )
const char *osname; const char *osname;
#if XASH_MINGW #if XASH_MINGW
osname = "Win32-MinGW"; osname = "win32-mingw";
#elif XASH_WIN32 #elif XASH_WIN32
osname = "Win32"; osname = "win32";
#elif XASH_ANDROID #elif XASH_ANDROID
osname = "Android"; osname = "android";
#elif XASH_LINUX #elif XASH_LINUX
osname = "Linux"; osname = "linux";
#elif XASH_APPLE #elif XASH_APPLE
osname = "Apple"; osname = "apple";
#elif XASH_FREEBSD #elif XASH_FREEBSD
osname = "FreeBSD"; osname = "freebsd";
#elif XASH_NETBSD #elif XASH_NETBSD
osname = "NetBSD"; osname = "netbsd";
#elif XASH_OPENBSD #elif XASH_OPENBSD
osname = "OpenBSD"; osname = "openbsd";
#elif XASH_EMSCRIPTEN #elif XASH_EMSCRIPTEN
osname = "Emscripten"; osname = "emscripten";
#else #else
#error "Place your operating system name here! If this is a mistake, try to fix conditions above and report a bug" #error "Place your operating system name here! If this is a mistake, try to fix conditions above and report a bug"
#endif #endif

Loading…
Cancel
Save