Re: VS 2015 support in src/tools/msvc - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: VS 2015 support in src/tools/msvc
Date
Msg-id 56E027F3.1030101@2ndquadrant.com
Whole thread Raw
In response to Re: VS 2015 support in src/tools/msvc  (Yury Zhuravlev <u.zhuravlev@postgrespro.ru>)
List 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



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Next
From: Robert Haas
Date:
Subject: Re: RFC: replace pg_stat_activity.waiting with something more descriptive