develooper Front page | perl.perl5.porters | Postings from May 2006

Re: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m)MSWin32 Win2000 SP4 (x86/1 cpu))

From:
H.Merijn Brand
Date:
May 2, 2006 00:23
Subject:
Re: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m)MSWin32 Win2000 SP4 (x86/1 cpu))
Message ID:
20060502092351.7bae0896@pc09
On Mon, 1 May 2006 18:55:11 -0700, "Jan Dubois" <jand@ActiveState.com> wrote:

> On Sun, 30 Apr 2006, Abe Timmerman wrote:
> > 
> > It looks like MSVC doesn't provide these, so here's a fix for #27987
> >
> 
> They are there, but you need to prefix them with an underscore,
> so here is a better patch.

Shouldn't that be also reverting the config changes?
They're now at undef

> --- win32/win32.h.orig	Fri Apr 28 08:34:29 2006
> +++ win32/win32.h	Mon May 01 18:47:02 2006
> @@ -209,6 +209,8 @@
>  #define PERL_MEMBER_PTR_SIZE	16
>  
>  #define isnan		_isnan
> +#define snprintf	_snprintf
> +#define vsnprintf	_vsnprintf
>  
>  #if _MSC_VER < 1300
>  /* VC6 has broken NaN semantics: NaN == NaN returns true instead of false */
> End of patch.

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0, AIX 4.3 & 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org
                       http://www.goldmark.org/jeff/stupid-disclaimers/



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