From 013e9a11ffffe954ca56b70b8400fe1986966e96 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 16 Feb 2014 11:52:00 +0100 Subject: sockfilt.c: add undefs which are required after 6239146e --- tests/server/sockfilt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/server') 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 -- cgit v1.2.3