MSVC build broken (again) - Mailing list pgsql-patches

From Magnus Hagander
Subject MSVC build broken (again)
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FC15@algol.sollentuna.se
Whole thread Raw
Responses Re: MSVC build broken (again)
List pgsql-patches
The code around errcode is definitly messy. In CVS now, it actually
renames *our* errcode() function to __msvc_errcode, and exports this
from postgres.exe. This is definitly very borken.

The check for _MSC_VER > 1400 won't come true until Microsoft releases
the next verison of Visual Studio - VS2005 is 1400, not >1400.

Attached patch fixes this. Tested on MSVC and on Mingw.

//Magnus


Attachment

pgsql-patches by date:

Previous
From: "Sergey E. Koposov"
Date:
Subject: Re: 7.4, 8.0 branches @ itanium2 & icc
Next
From: "Magnus Hagander"
Date:
Subject: Re: [HACKERS] Bad bug in fopen() wrapper code