aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-19 19:59:37 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-19 19:59:37 +0000
commitd0a3453953e9cbcc6dd9b39525088d0c09c45589 (patch)
tree3a8b92c94208c09f1b98b43d95c89d7fc247c501 /code
parent0d2333019b693d730706d7a7708024f5db74f040 (diff)
downloadioquake3-aero-d0a3453953e9cbcc6dd9b39525088d0c09c45589.tar.gz
ioquake3-aero-d0a3453953e9cbcc6dd9b39525088d0c09c45589.zip
* s/O_NDELAY/O_NONBLOCK/
git-svn-id: svn://svn.icculus.org/quake3/trunk@1215 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/sys/con_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c
index dd37c19..5e499eb 100644
--- a/code/sys/con_tty.c
+++ b/code/sys/con_tty.c
@@ -168,7 +168,7 @@ void CON_Shutdown( void )
}
// Restore blocking to stdin reads
- fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) & ~O_NDELAY );
+ fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) & ~O_NONBLOCK );
}
/*
@@ -256,7 +256,7 @@ void CON_Init( void )
signal(SIGTTOU, SIG_IGN);
// Make stdin reads non-blocking
- fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY );
+ fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NONBLOCK );
if (isatty(STDIN_FILENO)!=1)
{