Re: cygwin breakage (was: GPL Source and Copyright Questions)

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: cygwin breakage (was: GPL Source and Copyright Questions)
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FA85@algol.sollentuna.se
обсуждение исходный текст
Ответ на Re: [CORE] GPL Source and Copyright Questions  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: cygwin breakage (was: GPL Source and Copyright Questions)
Список pgsql-hackers
> > And why do win32 and cygwin now not include at all pg_config_os.h?
>
> It's a way to avoid the step to copy win32\port.h in msvc.
> configure copies it to pg_config_os.h. Since for win32
> platforms (unfortunatly, at this point it considers cygwin
> win32..)that will always be port/win32.h, it explicitly
> includes that one instead.

Attached simple patch reverts this, as it clearly broke cygwin.

Still can't get it to build on cygwin though, but I doubt it's the fault
of the win32 patch... With ./configure, I get:
checking for random... yes
checking for rint... yes
checking for srandom... yes

But if I look in the generated pg_config.h I have:
/* Define to 1 if you have the `random' function. */
/* #undef HAVE_RANDOM */

and similar for SRANDOM. This gives a "conflicting types for random"
between port.h line 314 and stdlib.h line 24.

Hopefully that's something broken in my cygwin environment only (a fresh
one installed, but I really don't know cygwin enough to comment on if I
broke something :-P), in which case someone with an already working
cygwin environment should be able to build again after this one.

//Magnus

Вложения

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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: "Mark Woodward"
Дата:
Сообщение: Re: vacuum, performance, and MVCC