develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [PATCH] Re: MinGW-3.1.0-1 _CRTIMP definition preempting win32.h's

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
November 2, 2003 10:44
Subject:
Re: [PATCH] Re: MinGW-3.1.0-1 _CRTIMP definition preempting win32.h's
Message ID:
20031102194940.1e2895b1.rgarciasuarez@free.fr
Abe Timmerman wrote:
> I've now done Jan's suggestion, which looks better (checked with blead && 
> 5.6.2 for both MinGW2 and MinGW3):
> 
> --- win32/win32.h.orig  2003-05-11 18:51:19.000000000 +0200
> +++ win32/win32.h       2003-11-02 16:14:53.000000000 +0100
> @@ -465,6 +465,9 @@
>  #ifdef PERL_CORE
> 
>  /* C doesn't like repeat struct definitions */
> +#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION>=3)
> +#undef _CRTIMP
> +#endif

Thanks, applied to bleadperl as change #21617.

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