librb: fix commio build on win32

This commit is contained in:
William Pitcock 2016-04-30 19:33:31 -05:00
parent b585278b32
commit 9cd0063a2c

View file

@ -87,6 +87,9 @@ struct acceptdata
#define SetFDOpen(F) (F->flags |= FLAG_OPEN) #define SetFDOpen(F) (F->flags |= FLAG_OPEN)
#define ClearFDOpen(F) (F->flags &= ~FLAG_OPEN) #define ClearFDOpen(F) (F->flags &= ~FLAG_OPEN)
#if !defined(SHUT_RDWR) && defined(_WIN32)
# define SHUT_RDWR SD_BOTH
#endif
struct _fde struct _fde
{ {