]> granicus.if.org Git - curl/commitdiff
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 82a9a566448d96b6a30be92921e657409ec5254e..ae17e9c1e9483d286714fe1d8de351470c18d073 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