Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug
Date
Msg-id 44C649C5.1060904@dunslane.net
Whole thread Raw
In response to Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List 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




pgsql-patches by date:

Previous
From: Bernd Helmle
Date:
Subject: Patch for updatable views
Next
From: "Hiroshi Saito"
Date:
Subject: Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug