diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2012-09-28 09:02:31 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2012-09-28 09:02:31 +0100 |
commit | 72e6b643d040f276d474b709b942bdd8d03bc2a2 (patch) | |
tree | 096cc06b9d44a8ea65dcfc6d898fa1af23fb2aaf /XSUB.h | |
parent | 1af70165a5e66fcde5decf8b027291ef927e4b2b (diff) | |
download | perl-72e6b643d040f276d474b709b942bdd8d03bc2a2.tar.gz |
Remove option to build without USE_SOCKETS_AS_HANDLES on Windows
The option is always defined by default and can't be disabled from the
makefiles. Manually disabling it causes several tests to fail, which
nobody has reported, so we presume nobody does this. The non-default
configuration is believed to be historical cruft with no value now, and
has clearly bitrotted in recent years (hence the test failures), so
remove it to simplify the codebase slightly.
Diffstat (limited to 'XSUB.h')
-rw-r--r-- | XSUB.h | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -635,18 +635,16 @@ Rethrows a previously caught exception. See L<perlguts/"Exception Handling">. # define socketpair PerlSock_socketpair # endif /* NETWARE && USE_STDIO */ -# ifdef USE_SOCKETS_AS_HANDLES -# undef fd_set -# undef FD_SET -# undef FD_CLR -# undef FD_ISSET -# undef FD_ZERO -# define fd_set Perl_fd_set -# define FD_SET(n,p) PERL_FD_SET(n,p) -# define FD_CLR(n,p) PERL_FD_CLR(n,p) -# define FD_ISSET(n,p) PERL_FD_ISSET(n,p) -# define FD_ZERO(p) PERL_FD_ZERO(p) -# endif /* USE_SOCKETS_AS_HANDLES */ +# undef fd_set +# undef FD_SET +# undef FD_CLR +# undef FD_ISSET +# undef FD_ZERO +# define fd_set Perl_fd_set +# define FD_SET(n,p) PERL_FD_SET(n,p) +# define FD_CLR(n,p) PERL_FD_CLR(n,p) +# define FD_ISSET(n,p) PERL_FD_ISSET(n,p) +# define FD_ZERO(p) PERL_FD_ZERO(p) # endif /* NO_XSLOCKS */ #endif /* PERL_IMPLICIT_SYS && !PERL_CORE */ |