Thread: Re: pgsql: Support building with Visual Studio 2015

Re: pgsql: Support building with Visual Studio 2015

From
Christian Ullrich
Date:
* Andrew Dunstan wrote:

> Support building with Visual Studio 2015
> http://git.postgresql.org/pg/commitdiff/da52474f3d3cbdf38d8a6677a4ebedaf402ade3a

diff --git a/src/port/win32env.c b/src/port/win32env.c
index 7e4ff62..d6b0ebe 100644 (file)
--- a/src/port/win32env.c
+++ b/src/port/win32env.c
@@ -70,6 +70,9 @@ pgwin32_putenv(const char *envval)
             "msvcr120", 0, NULL
         },                      /* Visual Studio 2013 */
         {
+           "urctbase", 0, NULL
+       },                      /* Visual Studio 2015 and later */
+       {
             NULL, 0, NULL
         }
     };

s/urctbase/ucrtbase/

Sorry, I missed that this morning.

--
Christian




Re: pgsql: Support building with Visual Studio 2015

From
Andrew Dunstan
Date:

On 04/29/2016 09:29 AM, Christian Ullrich wrote:
> * Andrew Dunstan wrote:
>
>> Support building with Visual Studio 2015
>> http://git.postgresql.org/pg/commitdiff/da52474f3d3cbdf38d8a6677a4ebedaf402ade3a
>>
>
> diff --git a/src/port/win32env.c b/src/port/win32env.c
> index 7e4ff62..d6b0ebe 100644 (file)
> --- a/src/port/win32env.c
> +++ b/src/port/win32env.c
> @@ -70,6 +70,9 @@ pgwin32_putenv(const char *envval)
>             "msvcr120", 0, NULL
>         },                      /* Visual Studio 2013 */
>         {
> +           "urctbase", 0, NULL
> +       },                      /* Visual Studio 2015 and later */
> +       {
>             NULL, 0, NULL
>         }
>     };
>
> s/urctbase/ucrtbase/
>
> Sorry, I missed that this morning.
>


Oh, darn, thanks. Will fix.

cheers

andrew