diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-12 07:40:54 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-12 07:40:54 +0000 |
commit | 390b85e7c411323845dca16b7882a5a5754a433e (patch) | |
tree | 85ad2b4f7f3f7423e62b89223941e6670bce5d16 /win32/win32sck.c | |
parent | 65e48ea94f536920f95a77a3a652fd45c687b28a (diff) | |
download | perl-390b85e7c411323845dca16b7882a5a5754a433e.tar.gz |
Egregious IOsubsystem code excised. Phew, what a relief! Two
files (win32/win32io.[ch]) completely removed, as are all traces
of them in makefiles and MANIFEST. RunPerl() retains the void* arg
for later. Various myfoo() things regularized to my_foo(). CPP not
required anymore to create a perl binary :)
p4raw-id: //depot/win32/perl@242
Diffstat (limited to 'win32/win32sck.c')
-rw-r--r-- | win32/win32sck.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/win32/win32sck.c b/win32/win32sck.c index a0fad00386..9de7a149ad 100644 --- a/win32/win32sck.c +++ b/win32/win32sck.c @@ -8,14 +8,16 @@ * License or the Artistic License, as specified in the README file. */ -#include <windows.h> +#define WIN32IO_IS_STDIO #define WIN32_LEAN_AND_MEAN +#include <windows.h> #include "EXTERN.h" #include "perl.h" #include <sys/socket.h> #include <fcntl.h> #include <sys/stat.h> #include <assert.h> +#include <io.h> #undef htonl #undef htons @@ -602,17 +604,6 @@ win32_setservent(int stayopen) croak("setservent not implemented!\n"); } -#define WIN32IO_IS_STDIO -#include <io.h> - -#ifdef __cplusplus -extern "C" { -#endif -#include "win32iop.h" -#ifdef __cplusplus -} -#endif - static struct servent* win32_savecopyservent(struct servent*d, struct servent*s, const char *proto) { |