| От | Tom Lane |
|---|---|
| Тема | Re: Cygwin PostgreSQL CVS Patch |
| Дата | |
| Msg-id | 3924.979840998@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Cygwin PostgreSQL CVS Patch (Jason Tishler <Jason.Tishler@dothill.com>) |
| Ответы |
Re: Cygwin PostgreSQL CVS Patch
|
| Список | pgsql-ports |
Jason Tishler <Jason.Tishler@dothill.com> writes:
> 1. Add the following cruft right before the above:
> #ifdef __CYGWIN__
> #include <cygwin/version.h>
> #endif
> 2. Move the including of os.h to somewhere before the above.
I don't like #2 since there may be (now or in the future) port header
files that depend on being able to override config.h choices.
A third alternative is to remove all mention of cygwin from the
test in config.h, allowing it to #define HAVE_UNIX_SOCKETS always,
and then in the cygwin os.h #undef it again if it's old cygwin.
regards, tom lane
В списке pgsql-ports по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера