]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Removed passing machine type from the makefile to the compiler; instead, determine...
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 62192c141a30de3868e29ca405fa15c75af1fe94..f395b478f8b454df1f27f197777d42732dc62a6a 100644 (file)
--- a/host.c
+++ b/host.c
@@ -992,23 +992,7 @@ static void Host_Init (void)
        COM_InitGameType();
 
        // construct a version string for the corner of the console
-#if defined(__linux__)
-       os = "Linux";
-#elif defined(WIN32)
-       os = "Windows";
-#elif defined(__FreeBSD__)
-       os = "FreeBSD";
-#elif defined(__NetBSD__)
-       os = "NetBSD";
-#elif defined(__OpenBSD__)
-       os = "OpenBSD";
-#elif defined(MACOSX)
-       os = "Mac OS X";
-#elif defined(__MORPHOS__)
-       os = "MorphOS";
-#else
-       os = "Unknown";
-#endif
+       os = DP_OS_NAME;
        dpsnprintf (engineversion, sizeof (engineversion), "%s %s %s", gamename, os, buildstring);
        Con_Printf("%s\n", engineversion);