From 3bac2784a89521dea698cbca8d9373a364c99039 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 10 Mar 2005 03:15:27 +0000 Subject: [PATCH] disabled O_NONBLOCKING flag on win32 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5079 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- 2.39.2