]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
-Removed the NG Menu part, since it isnt used anymore (the old layout
[xonotic/darkplaces.git] / sys_shared.c
index 07fc4b61b99c07fac1728af40f648a86606a30dd..1893c219f460ebbdf49145a8ed8fa530e06575eb 100644 (file)
@@ -93,8 +93,10 @@ void Sys_Printf(const char *fmt, ...)
        Sys_Print(msg);
 }
 
+extern qboolean host_shuttingdown;
 void Sys_Quit (void)
 {
+       host_shuttingdown = true;
        Host_Shutdown();
        exit(0);
 }
@@ -114,6 +116,8 @@ void Sys_Shared_EarlyInit(void)
        os = "Linux";
 #elif defined(WIN32)
        os = "Windows";
+#elif defined(__FreeBSD__)
+       os = "FreeBSD";
 #elif defined(__NetBSD__)
        os = "NetBSD";
 #elif defined(__OpenBSD__)