From 6a4a7fb1d64ed0ad68993cb375cad7da7030e60b Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 24 Jul 2021 21:21:28 -0400 Subject: [PATCH] define out O_NONBLOCK for windows --- include/notcurses/ncport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/notcurses/ncport.h b/include/notcurses/ncport.h index fc38ca04d..105fb6604 100644 --- a/include/notcurses/ncport.h +++ b/include/notcurses/ncport.h @@ -29,6 +29,7 @@ extern "C" { #define sigset_t int #define sigemptyset(x) #define O_CLOEXEC O_NOINHERIT +#define O_NONBLOCK 0 #define O_DIRECTORY 0 #define S_IFLNK 0 #else // bsd