Re: Missing lookup in msvcr120 for pgwin32_putenv

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Missing lookup in msvcr120 for pgwin32_putenv
Date: 2016-04-22 09:22:33
Message-ID: CABUevEz1i-Jw-3yyANWViuvgqC12HSDg8i5JEsNsTFxBJrbAJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 21, 2016 at 11:16 PM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com
> wrote:

> Hi all,
>
> While looking at e545281 I bumped into the following thing that has
> visibly been forgotten since VS2013 support has been added:
> --- a/src/port/win32env.c
> +++ b/src/port/win32env.c
> @@ -67,6 +67,9 @@ pgwin32_putenv(const char *envval)
> "msvcr110", 0, NULL
> }, /* Visual Studio 2012 */
> {
> + "msvcr120", 0, NULL
> + }, /* Visual Studio 2013 */
> + {
> NULL, 0, NULL
> }
> };
>
> Attached is a patch. This should be backpatched to 9.3 where, if I
> recall correctly, support for VS2013 has been added.
>
>
Applied and backpatched. Thanks!

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2016-04-22 09:22:36 pgsql: Add putenv support for msvcrt from Visual Studio 2013
Previous Message Thomas Munro 2016-04-22 08:39:27 Re: kqueue