1
0
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:
Marc Hoersken 2014-02-16 11:52:00 +01:00
parent 77a51364a4
commit 013e9a11ff

View File

@ -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