-// Time-stamp: <01/08/01 21:01:12 keuchel@w2k>
+/* Time-stamp: <01/08/01 21:01:12 keuchel@w2k> */
/* wincesck.c
*
* License or the Artistic License, as specified in the README file.
*/
-// The socket calls use fd functions from celib...
+/* The socket calls use fd functions from celib... */
#define WIN32IO_IS_STDIO
#define WIN32SCK_IS_STDSCK
#define getprotobyname xcegetprotobyname
#define getprotobynumber xcegetprotobynumber
-// uses fdtab...
+/* uses fdtab... */
#include "cesocket2.h"
#endif
#define TO_SOCKET(X) (X)
-#ifdef USE_5005THREADS
-#define StartSockets() \
- STMT_START { \
- if (!wsock_started) \
- start_sockets(); \
- set_socktype(); \
- } STMT_END
-#else
#define StartSockets() \
STMT_START { \
if (!wsock_started) { \
set_socktype(); \
} \
} STMT_END
-#endif
#define EndSockets() \
STMT_START { \
Perl_fd_set* ex, const struct timeval* timeout)
{
StartSockets();
- // select not yet fixed
+ /* select not yet fixed */
errno = ENOSYS;
return -1;
}