Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Charlie Savage <cfis(at)savagexi(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys
Date: 2009-01-09 22:53:11
Message-ID: 200901092253.n09MrBZ25272@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Uh, do we still need this patch?

---------------------------------------------------------------------------

Charlie Savage wrote:
> Charlie Savage wrote:
> > A couple of months ago I noted that 8.3.4 doesn't compile on Vista using
> > MingW+msys under certain conditions:
> >
> > http://archives.postgresql.org/pgsql-hackers/2008-09/msg01496.php
> >
> > 8.3.5 has the same problem.
> >
> > Attached are two one line patches that fix it.
>
> Sorry, I attached incorrect patches in the original email. Here are the
> correct ones.
>
> Thanks,
>
> Charlie
> --
> Charlie Savage
> http://cfis.savagexi.com

> *** libpq-be.h.old Wed Nov 5 23:32:50 2008
> --- libpq-be.h Wed Nov 5 23:35:52 2008
> ***************
> *** 47,52 ****
> --- 47,53 ----
>
> #ifdef ENABLE_SSPI
> #define SECURITY_WIN32
> + #include <ntsecapi.h>
> #include <security.h>
> #undef SECURITY_WIN32
>
>
> *** libpq-int.h.old Wed Nov 5 23:37:48 2008
> --- libpq-int.h Wed Nov 5 23:38:14 2008
> ***************
> *** 54,59 ****
> --- 54,60 ----
>
> #ifdef ENABLE_SSPI
> #define SECURITY_WIN32
> + #include <ntsecapi.h>
> #include <security.h>
> #undef SECURITY_WIN32
>
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2009-01-09 22:54:54 Re: [HACKERS] BUG #4516: FOUND variable does not work after RETURN QUERY
Previous Message Gregory Stark 2009-01-09 22:22:55 Re: Buffer pool statistics in Explain Analyze