mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
s/FNDELAY/O_NONBLOCK/
This commit is contained in:
parent
7d6792ecff
commit
9540e9af4a
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ Sys_DebugLog (const char *file, const char *fmt, ...)
|
|||
static void
|
||||
shutdown (void)
|
||||
{
|
||||
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~FNDELAY);
|
||||
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~O_NONBLOCK);
|
||||
fflush (stdout);
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ main (int argc, const char **argv)
|
|||
host_parms.argv = com_argv;
|
||||
}
|
||||
|
||||
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
|
||||
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) | O_NONBLOCK);
|
||||
|
||||
Sys_RegisterShutdown (Host_Shutdown);
|
||||
Sys_RegisterShutdown (shutdown);
|
||||
|
|
Loading…
Reference in a new issue