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

Поиск
Список
Период
Сортировка
От Charlie Savage
Тема 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys
Дата
Msg-id 49128F16.70204@savagexi.com
обсуждение исходный текст
Ответы Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys  (Charlie Savage <cfis@savagexi.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: regression in analyze
Следующее
От: Charlie Savage
Дата:
Сообщение: Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys