Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org, William ZHANG <uniware(at)zedware(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug
Date: 2006-07-25 16:41:41
Message-ID: 44C649C5.1060904@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hiroshi Saito wrote:
> Hmm, It seems to be the bug of very unpleasant Microsoft.:D
> I think that the following is desirable as an evasion measure to add.
>
> #if defined(_MSC_VER) && _MSC_VER == 1400
>
> To be sure, it was only VS2005.
>

Why is this better than:

#if _MSC_VER == 1400

Surely this will not be true if _MSC_VER is undefined?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-07-25 16:42:06 Re: Loading the PL/pgSQL debugger (and other plugins)
Previous Message Jim C. Nasby 2006-07-25 16:38:08 Re: Loading the PL/pgSQL debugger (and other plugins)

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Saito 2006-07-25 17:12:31 Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug
Previous Message Bernd Helmle 2006-07-25 16:31:32 Patch for updatable views