diff options
author | Artur Bergman <sky@nanisky.com> | 2001-08-27 15:16:42 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-08-27 15:16:42 +0000 |
commit | 4d1ff10ffec86208b0da135b87c76b89e61c866e (patch) | |
tree | 741ba054917367001dce29e674a1e99c8fa229d3 /win32/win32sck.c | |
parent | eb9ee3dc93112029ee3de6fd047d54576a1f1a1f (diff) | |
download | perl-4d1ff10ffec86208b0da135b87c76b89e61c866e.tar.gz |
Changes USE_THREADS to USE_5005THREADS in the entire source.
Thanks to H. Merijn Brand for the patch.
Some of the comments and or guards might be removable in perl.h now.
p4raw-id: //depot/perl@11758
Diffstat (limited to 'win32/win32sck.c')
-rw-r--r-- | win32/win32sck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32sck.c b/win32/win32sck.c index 3edeefd689..bdc335f4fc 100644 --- a/win32/win32sck.c +++ b/win32/win32sck.c @@ -40,7 +40,7 @@ # define TO_SOCKET(x) (x) #endif /* USE_SOCKETS_AS_HANDLES */ -#if defined(USE_THREADS) || defined(USE_ITHREADS) +#if defined(USE_5005THREADS) || defined(USE_ITHREADS) #define StartSockets() \ STMT_START { \ if (!wsock_started) \ @@ -105,7 +105,7 @@ void set_socktype(void) { #ifdef USE_SOCKETS_AS_HANDLES -#if defined(USE_THREADS) || defined(USE_ITHREADS) +#if defined(USE_5005THREADS) || defined(USE_ITHREADS) dTHXo; if (!w32_init_socktype) { #endif @@ -115,7 +115,7 @@ set_socktype(void) */ setsockopt(INVALID_SOCKET, SOL_SOCKET, SO_OPENTYPE, (char *)&iSockOpt, sizeof(iSockOpt)); -#if defined(USE_THREADS) || defined(USE_ITHREADS) +#if defined(USE_5005THREADS) || defined(USE_ITHREADS) w32_init_socktype = 1; } #endif |