aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-02-16 11:52:00 +0100
committerMarc Hoersken <info@marc-hoersken.de>2014-02-16 11:52:48 +0100
commit013e9a11ffffe954ca56b70b8400fe1986966e96 (patch)
treefea03cc59c0c4c78e5587ab26c32136d4aef24a3
parent77a51364a424a3a3ad57d2abcc5ab47cb9f2fcbc (diff)
sockfilt.c: add undefs which are required after 6239146e
-rw-r--r--tests/server/sockfilt.c2
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