disabled O_NONBLOCKING flag on win32
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 10 Mar 2005 03:15:27 +0000 (03:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 10 Mar 2005 03:15:27 +0000 (03:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5079 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index 8e0708d..752fa99 100644 (file)
--- 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));