From 42605dc63ef48303490ca3d65d4599e711cf02db Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sun, 21 May 2000 19:59:44 +0000 Subject: [PATCH] Moved svs definition to sys_win/unix.c as both the client and server need it. --- source/sv_init.c | 1 - source/sys_unix.c | 2 ++ source/sys_win.c | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/sv_init.c b/source/sv_init.c index 00e38fd..656df6f 100644 --- a/source/sv_init.c +++ b/source/sv_init.c @@ -38,7 +38,6 @@ #include -server_static_t svs; // persistant server info server_t sv; // local server char localmodels[MAX_MODELS][5]; // inline model names for precache diff --git a/source/sys_unix.c b/source/sys_unix.c index bc0717a..658ad4a 100644 --- a/source/sys_unix.c +++ b/source/sys_unix.c @@ -45,6 +45,8 @@ #include "sys.h" #include "quakedef.h" +/* This is unused in the client, but we need the symbol there too. */ +server_static_t svs; /* cvar_t sys_nostdout = {"sys_nostdout","0"}; CVAR_FIXME */ diff --git a/source/sys_win.c b/source/sys_win.c index 647152b..37fb5c0 100644 --- a/source/sys_win.c +++ b/source/sys_win.c @@ -27,6 +27,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "winquake.h" #include #include +#include "server.h" + +/* This is unused in the client, but we need the symbol there too. */ +server_static_t svs; /* ==============