From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 25 Jun 2007 17:13:04 -0700
Message-ID: <
02bb01c7b786$c42099c0$4c61cd40$@com>
Subject: RE: [PATCH] Remove dead code from win32/win32sck.c
From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 25 Jun 2007 17:26:15 -0700
Message-ID: <
02c801c7b788$9bf7ebe0$d3e7c3a0$@com>
p4raw-id: //depot/perl@31469
# define TO_SOCKET(x) (x)
#endif /* USE_SOCKETS_AS_HANDLES */
-#if defined(USE_ITHREADS)
#define StartSockets() \
STMT_START { \
if (!wsock_started) \
start_sockets(); \
- set_socktype(); \
} STMT_END
-#else
-#define StartSockets() \
- STMT_START { \
- if (!wsock_started) { \
- start_sockets(); \
- set_socktype(); \
- } \
- } STMT_END
-#endif
#define SOCKET_TEST(x, y) \
STMT_START { \
wsock_started = 1;
}
-void
-set_socktype(void)
-{
-}
-
-
#ifndef USE_SOCKETS_AS_HANDLES
#undef fdopen
FILE *
#define StartSockets() \
STMT_START { \
- if (!wsock_started) { \
+ if (!wsock_started) \
start_sockets(); \
- set_socktype(); \
- } \
} STMT_END
#define SOCKET_TEST(x, y) \
wsock_started = 1;
}
-void
-set_socktype(void)
-{
-}
-
u_long
win32_htonl(u_long hostlong)
{