sockfilt.c: add undefs which are required after 6239146e
This commit is contained in:
parent
77a51364a4
commit
013e9a11ff
@ -297,6 +297,7 @@ static ssize_t read_wincon(int fd, void *buf, size_t count)
|
||||
errno = GetLastError();
|
||||
return -1;
|
||||
}
|
||||
#undef read
|
||||
#define read(a,b,c) read_wincon(a,b,c)
|
||||
|
||||
/*
|
||||
@ -331,6 +332,7 @@ static ssize_t write_wincon(int fd, const void *buf, size_t count)
|
||||
errno = GetLastError();
|
||||
return -1;
|
||||
}
|
||||
#undef write
|
||||
#define write(a,b,c) write_wincon(a,b,c)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user