develooper Front page | perl.perl5.porters | Postings from July 2001

RE: [ID 20010731.105] MinGW can't compile win32.c on Windows 2000

Thread Previous | Thread Next
From:
vkonovalov
Date:
July 31, 2001 23:00
Subject:
RE: [ID 20010731.105] MinGW can't compile win32.c on Windows 2000
Message ID:
E3FB32585BF1D411B9E900805FF51A080D8E80@RU0022EXCH001U
> To build Perl using MinGW-1.0.1-20010726,  I found it necessary to
> change win32.c, as follows (from `diff -u`):
> 
> --- Perl-5.6.1/win32/win32.c    Sat Mar 03 20:53:19 2001
> +++ Perl-5.6.1-MinGW/win32/win32.c Mon Jul 30 22:40:17 2001
> @@ -1627,7 +1627,7 @@
>         char *arch;
>         GetSystemInfo(&info);
> 
> -#if (defined(__BORLANDC__)&&(__BORLANDC__<=0x520)) || 
> defined(__MINGW32__)
> +#if (defined(__BORLANDC__)&&(__BORLANDC__<=0x520))
>         switch (info.u.s.wProcessorArchitecture) {
>  #else
>         switch (info.wProcessorArchitecture) {

don't you think that those "|| defined(__MINGW32__)" were inserted by someone with same compiler that you use but more previous version?

Best wishes,
<!ENTITY Vadim REALLIFE "Vadim V.Konovalov, St.Petersburg, Russia">
&Vadim;

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About