From 25b5a4a30f8a767bfd4577aa284bd435f7e5fb97 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 2 Oct 2010 20:03:19 -0700 Subject: Make sure events_*.c are fully compatible to callers so plugins built for a different flavour will still work. --- sock.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sock.h') 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 # include -- cgit v1.2.3