aboutsummaryrefslogtreecommitdiffstats
path: root/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sock.h b/sock.h
index 66e28987..a0d49d95 100644
--- a/sock.h
+++ b/sock.h
@@ -10,11 +10,7 @@
#define sock_make_nonblocking(fd) fcntl(fd, F_SETFL, O_NONBLOCK)
#define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0)
#define sockerr_again() (errno == EINPROGRESS || errno == EINTR)
-#ifndef EVENTS_LIBEVENT
-#define closesocket(a) close(a)
-#else
void closesocket( int fd );
-#endif
#else
# include <winsock2.h>
# include <ws2tcpip.h>