wdvi

network DVI viewer
Log | Files | Refs

commit 5e19cf3a6c2e0e6a8c225602580ce1eefe2ec73f
parent c2c4b1a212e2757f0e9ff01e7ba41d61b5bd510f
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Thu, 19 Aug 2021 20:30:09 +0000

assume we have O_NONBLOCK

Diffstat:
Mpopups.c | 5-----
Mutil.c | 5-----
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/popups.c b/popups.c @@ -75,11 +75,6 @@ IN THE SOFTWARE. # define WTERMSIG(status) ((status) & 0x7f) #endif -/* if POSIX O_NONBLOCK is not available, use O_NDELAY */ -#if !defined(O_NONBLOCK) && defined(O_NDELAY) -# define O_NONBLOCK O_NDELAY -#endif - #ifdef EWOULDBLOCK # ifdef EAGAIN # define AGAIN_CONDITION (errno == EWOULDBLOCK || errno == EAGAIN) diff --git a/util.c b/util.c @@ -42,11 +42,6 @@ NOTE: #include <stdarg.h> -/* if POSIX O_NONBLOCK is not available, use O_NDELAY */ -#if !defined O_NONBLOCK && defined O_NDELAY -# define O_NONBLOCK O_NDELAY -#endif - /* Linux prefers O_ASYNC over FASYNC; SGI IRIX does the opposite. */ #if !defined(FASYNC) && defined(O_ASYNC) # define FASYNC O_ASYNC