mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 15:05:02 -05:00
sockfilt.c: add undefs which are required after 6239146e
This commit is contained in:
parent
77a51364a4
commit
013e9a11ff
@ -297,6 +297,7 @@ static ssize_t read_wincon(int fd, void *buf, size_t count)
|
|||||||
errno = GetLastError();
|
errno = GetLastError();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#undef read
|
||||||
#define read(a,b,c) read_wincon(a,b,c)
|
#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();
|
errno = GetLastError();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#undef write
|
||||||
#define write(a,b,c) write_wincon(a,b,c)
|
#define write(a,b,c) write_wincon(a,b,c)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user