sockfilt.c: add undefs which are required after 6239146e
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 16 Feb 2014 10:52:00 +0000 (11:52 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 16 Feb 2014 10:52:48 +0000 (11:52 +0100)
tests/server/sockfilt.c

index 82a9a56..ae17e9c 100644 (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