diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-11-19 19:59:37 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-11-19 19:59:37 +0000 |
commit | d0a3453953e9cbcc6dd9b39525088d0c09c45589 (patch) | |
tree | 3a8b92c94208c09f1b98b43d95c89d7fc247c501 | |
parent | 0d2333019b693d730706d7a7708024f5db74f040 (diff) | |
download | ioquake3-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
-rw-r--r-- | code/sys/con_tty.c | 4 |
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) { |