Re: VS 2015 support in src/tools/msvc

From: Petr Jelinek <petr(at)2ndquadrant(dot)com>
To: Yury Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: VS 2015 support in src/tools/msvc
Date: 2016-03-09 13:41:07
Message-ID: 56E027F3.1030101@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/03/16 12:09, Yury Zhuravlev wrote:
>> Good point. It did not occur to me that this would bring a hard
>> dependency for non-Windows builds. Let's keep both scripts then. The
>> attached is changed to do so.
>
> Hello.
> What about putenv problem? We can't write:
> #define putenv(x) pgwin32_putenv(x)
> because in new CRT putenv have different signature.
>

Hmm, I don't see any problem there.

We should however add the msvc 2015 module to rtmodules in the
pgwin32_putenv so that we can run just with that runtime.

--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-03-09 13:47:09 Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Previous Message Amit Kapila 2016-03-09 13:31:00 Re: RFC: replace pg_stat_activity.waiting with something more descriptive