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: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to