aboutsummaryrefslogtreecommitdiffstats
path: root/code/sys
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-16 22:36:57 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-16 22:36:57 +0000
commit8ba8c9867664de1c90f8889cf9c2c5498a324a15 (patch)
tree3c795fb3a1c0ece37694b755087b881ab92a0504 /code/sys
parent9da0998e56e35ba9744f275bd4389b4bfc412569 (diff)
downloadioquake3-aero-8ba8c9867664de1c90f8889cf9c2c5498a324a15.tar.gz
ioquake3-aero-8ba8c9867664de1c90f8889cf9c2c5498a324a15.zip
* Disable stdout/stderr redirection on Windows
git-svn-id: svn://svn.icculus.org/quake3/trunk@1674 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sys')
-rw-r--r--code/sys/sys_win32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c
index b3d2167..5f6b73f 100644
--- a/code/sys/sys_win32.c
+++ b/code/sys/sys_win32.c
@@ -650,5 +650,8 @@ void Sys_PlatformInit( void )
}
else
SDL_VIDEODRIVER_externallySet = qfalse;
+
+ // Don't redirect to stdout.txt and stderr.txt
+ _putenv( "SDL_STDIO_REDIRECT=0" );
#endif
}