diff options
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/setup.h b/lib/setup.h index 1ca3e9b9d..25ca451f3 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -341,7 +341,6 @@ #endif /* Below we define some functions. They should - 1. close a socket 4. set the SIGALRM signal timeout 5. set dir/file naming defines @@ -349,12 +348,6 @@ #ifdef WIN32 -# if !defined(__CYGWIN__) -# define sclose(x) closesocket(x) -# else -# define sclose(x) close(x) -# endif - # define DIR_CHAR "\\" # define DOT_CHAR "_" @@ -363,7 +356,6 @@ # ifdef MSDOS /* Watt-32 */ # include <sys/ioctl.h> -# define sclose(x) close_s(x) # define select(n,r,w,x,t) select_s(n,r,w,x,t) # define ioctl(x,y,z) ioctlsocket(x,y,(char *)(z)) # include <tcp.h> @@ -374,21 +366,8 @@ # undef byte # endif -# else /* MSDOS */ - -# ifdef __BEOS__ -# define sclose(x) closesocket(x) -# else /* __BEOS__ */ -# define sclose(x) close(x) -# endif /* __BEOS__ */ - # endif /* MSDOS */ -# ifdef _AMIGASF -# undef sclose -# define sclose(x) CloseSocket(x) -# endif - # ifdef __minix /* Minix 3 versions up to at least 3.1.3 are missing these prototypes */ extern char * strtok_r(char *s, const char *delim, char **last); |