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
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ struct acceptdata
#define SetFDOpen(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
{