2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys - Mailing list pgsql-hackers

From Charlie Savage
Subject 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys
Date
Msg-id 49128F16.70204@savagexi.com
Whole thread Raw
Responses Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys  (Charlie Savage <cfis@savagexi.com>)
List pgsql-hackers
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.

Thanks,

Charlie

--- libpq-int.h    2008-11-05 23:22:36 -0700
+++ libpq-int - Copy.h    2008-11-05 23:22:30 -0700
@@ -54,7 +54,6 @@

 #ifdef ENABLE_SSPI
 #define SECURITY_WIN32
-#include <ntsecapi.h>
 #include <security.h>
 #undef SECURITY_WIN32

--- libpq-be.h    2008-11-05 23:22:49 -0700
+++ libpq-be - Copy.h    2008-11-05 23:22:40 -0700
@@ -47,7 +47,7 @@

 #ifdef ENABLE_SSPI
 #define SECURITY_WIN32
-#include <ntsecapi.h>
+#include <security.h>
 #undef SECURITY_WIN32

 #ifndef ENABLE_GSS

Attachment

pgsql-hackers by date:

Previous
From: "Jaime Casanova"
Date:
Subject: regression in analyze
Next
From: Charlie Savage
Date:
Subject: Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys