sockfilt.c: add undefs which are required after 6239146e

This commit is contained in:
Marc Hoersken 2014-02-16 11:52:00 +01:00
parent 77a51364a4
commit 013e9a11ff

View File

@ -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