From: Nick Ing-Simmons Date: Sun, 19 Nov 2000 18:57:30 +0000 (+0000) Subject: Configure GCC/Win32 build -Duseperlio X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8fada4f68b93131e799325ac5c6f8a949351407d;p=p5sagit%2Fp5-mst-13.2.git Configure GCC/Win32 build -Duseperlio Fix a couple of gross issues - double-include of ../deb.o in re.dll - win32sck.c needs PerlIO and FILE p4raw-id: //depot/perlio@7752 --- diff --git a/ext/re/hints/MSWin32.pl b/ext/re/hints/MSWin32.pl index 3ac0fda..858e5f9 100644 --- a/ext/re/hints/MSWin32.pl +++ b/ext/re/hints/MSWin32.pl @@ -7,12 +7,3 @@ if ($^O =~ /MSWin32/) { $self->{OBJECT} .= ' ../../deb$(OBJ_EXT)'; } -# Add explicit link to deb.o to pick up _Perl_deb symbol which is not -# mentioned in perl56.lib in non DEBUGGING builds -# Taken lock, stock, and barrel from hints/aix.pl -# -- BKS, 11-11-2000 - -if ($^O =~ /MSWin32/) { - $self->{OBJECT} .= ' ../../deb$(OBJ_EXT)'; -} - diff --git a/win32/config.gc b/win32/config.gc index a6b0bcf..4bf0d95 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -766,7 +766,7 @@ usemultiplicity='undef' usemymalloc='n' usenm='false' useopcode='true' -useperlio='undef' +useperlio='define' useposix='true' usesfio='false' useshrplib='yes' diff --git a/win32/config_H.gc b/win32/config_H.gc index f943aad..0e4cb71 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -2994,7 +2994,7 @@ * used in a fully backward compatible manner. */ #ifndef USE_PERLIO -/*#define USE_PERLIO /**/ +#define USE_PERLIO /**/ #endif /* USE_SOCKS: diff --git a/win32/win32sck.c b/win32/win32sck.c index 041963a..b83e0d9 100644 --- a/win32/win32sck.c +++ b/win32/win32sck.c @@ -11,6 +11,7 @@ #define WIN32IO_IS_STDIO #define WIN32SCK_IS_STDSCK #define WIN32_LEAN_AND_MEAN +#define PERLIO_NOT_STDIO 0 #ifdef __GNUC__ #define Win32_Winsock #endif