projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a5136
)
sockfilt.c: add undefs which are required after 6239146e
author
Marc Hoersken
<info@marc-hoersken.de>
Sun, 16 Feb 2014 10:52:00 +0000
(11:52 +0100)
committer
Marc Hoersken
<info@marc-hoersken.de>
Sun, 16 Feb 2014 10:52:48 +0000
(11:52 +0100)
tests/server/sockfilt.c
patch
|
blob
|
history
diff --git
a/tests/server/sockfilt.c
b/tests/server/sockfilt.c
index
82a9a56
..
ae17e9c
100644
(file)
--- 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