diff options
author | Ron Yorston <rmy@pobox.com> | 2014-03-17 21:58:40 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-03-17 21:58:40 +0000 |
commit | c2a7ce04edbde925966f03d78cc8db077416da28 (patch) | |
tree | c55b561c25ab8c21d082c0edb6edf45b131ea169 /include | |
parent | 8d989e6c6af206f56e8ea596197dd724454097f0 (diff) | |
download | busybox-w32-c2a7ce04edbde925966f03d78cc8db077416da28.tar.gz busybox-w32-c2a7ce04edbde925966f03d78cc8db077416da28.tar.bz2 busybox-w32-c2a7ce04edbde925966f03d78cc8db077416da28.zip |
Drop CONFIG_WIN32_NET setting
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/mingw.h b/include/mingw.h index 198ea911e..31795bc40 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -190,19 +190,15 @@ int ioctl(int fd, int code, ...); | |||
190 | */ | 190 | */ |
191 | #define hstrerror strerror | 191 | #define hstrerror strerror |
192 | 192 | ||
193 | #ifdef CONFIG_WIN32_NET | ||
194 | int mingw_socket(int domain, int type, int protocol); | 193 | int mingw_socket(int domain, int type, int protocol); |
195 | int mingw_connect(int sockfd, struct sockaddr *sa, size_t sz); | 194 | int mingw_connect(int sockfd, struct sockaddr *sa, size_t sz); |
196 | 195 | ||
197 | # define socket mingw_socket | ||
198 | # define connect mingw_connect | ||
199 | #endif | ||
200 | NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM); | 196 | NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM); |
201 | NOIMPL(mingw_listen,SOCKET s UNUSED_PARAM,int backlog UNUSED_PARAM); | 197 | NOIMPL(mingw_listen,SOCKET s UNUSED_PARAM,int backlog UNUSED_PARAM); |
202 | NOIMPL(mingw_bind,SOCKET s UNUSED_PARAM,const struct sockaddr* sa UNUSED_PARAM,int salen UNUSED_PARAM); | 198 | NOIMPL(mingw_bind,SOCKET s UNUSED_PARAM,const struct sockaddr* sa UNUSED_PARAM,int salen UNUSED_PARAM); |
203 | 199 | ||
204 | /* Windows declaration is different */ | ||
205 | #define socket mingw_socket | 200 | #define socket mingw_socket |
201 | #define connect mingw_connect | ||
206 | #define sendto mingw_sendto | 202 | #define sendto mingw_sendto |
207 | #define listen mingw_listen | 203 | #define listen mingw_listen |
208 | #define bind mingw_bind | 204 | #define bind mingw_bind |