From bbefa87db18f5b76dc67efa00b7cc798361480f3 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Thu, 13 Nov 2008 18:58:41 +0000 Subject: Hacked the source to get it compile on Windows Mobile using CeGCC toolchain. Fixed nasty memory corruption bug in UI scripts loading code. Fixed software refresh compilation issues on Windows. Inactive MVD channels are now completely destroyed and recreated once they are active again, and they are no longer allowed to stay in waiting state forever. Fixed delay buffer overflow resulting in fatal connection error. Preserve MVD stream flags in demos recorded on GTV server, and handle `inuse' flag correctly on players when writing gamestate. Updated documentation and Debian package descriptions. --- source/q_shared.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/q_shared.c') diff --git a/source/q_shared.c b/source/q_shared.c index f32ad5c..b97e987 100644 --- a/source/q_shared.c +++ b/source/q_shared.c @@ -1507,6 +1507,7 @@ char *Q_strchrnul( const char *s, int c ) { void Q_setenv( const char *name, const char *value ) { #ifdef _WIN32 +#ifndef __COREDLL__ if( !value ) { value = ""; } @@ -1515,6 +1516,7 @@ void Q_setenv( const char *name, const char *value ) { #else _putenv( va( "%s=%s", name, value ) ); #endif +#endif #else // _WIN32 if( value ) { setenv( name, value, 1 ); -- cgit v1.2.3