librb: fix commio build on win32
This commit is contained in:
parent
b585278b32
commit
9cd0063a2c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue