diff options
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sockfilt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 82a9a5664..ae17e9c1e 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -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 |