From: havoc Date: Thu, 10 Mar 2005 03:15:27 +0000 (+0000) Subject: disabled O_NONBLOCKING flag on win32 X-Git-Tag: xonotic-v0.1.0preview~5089 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=3bac2784a89521dea698cbca8d9373a364c99039 disabled O_NONBLOCKING flag on win32 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5079 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index 8e0708d1..752fa994 100644 --- a/fs.c +++ b/fs.c @@ -1053,8 +1053,10 @@ static qfile_t* FS_SysOpen (const char* filepath, const char* mode, qboolean non } } +#ifndef WIN32 if (nonblocking) opt |= O_NONBLOCK; +#endif file = Mem_Alloc (fs_mempool, sizeof (*file)); memset (file, 0, sizeof (*file));