From 909106ce90277a14ff333f84cb112e9ebaf3a1f0 Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sun, 19 Mar 2000 20:39:32 +0000 Subject: [PATCH] Include quakedef.h first so we get config.h definitions. --- common/sys_linux.c | 5 ++++- qw_common/net_chan.c | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/sys_linux.c b/common/sys_linux.c index 4cbbe69..3bd2c28 100644 --- a/common/sys_linux.c +++ b/common/sys_linux.c @@ -43,7 +43,6 @@ #include #include - #ifndef QUAKEWORLD qboolean isDedicated; #endif @@ -282,7 +281,11 @@ int main (int c, char **v) { parms.argc = com_argc; parms.argv = com_argv; +#ifdef GLQUAKE parms.memsize = 16*1024*1024; +#else + parms.memsize = 8*1024*1024; +#endif j = COM_CheckParm("-mem"); if (j) diff --git a/qw_common/net_chan.c b/qw_common/net_chan.c index 3ff0046..05adb3a 100644 --- a/qw_common/net_chan.c +++ b/qw_common/net_chan.c @@ -25,7 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif - #ifdef _WIN32 #include "winquake.h" #endif