Re: snprintf.c on win32 does not compile..

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: snprintf.c on win32 does not compile..
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE4769F0@algol.sollentuna.se
обсуждение исходный текст
Ответ на snprintf.c on win32 does not compile..  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-patches
> > .... there is no sys/ioctl.h. Trivial patch below:
>
> I don't think this header is needed on any platform.  If it
> were, you certainly couldn't just remove it.

Not so. On win32 we pull in <windows.h>, which contains a lot of the
definitions that are present in various other header files on unix.

It's possible it's not needed on other platforms, but the fact that I
can remove it on win32 does not prove that.


//Magnus

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: snprintf.c on win32 does not compile..
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: snprintf.c on win32 does not compile..