Re: Re: WIN32 errno patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: WIN32 errno patch
Дата
Msg-id 4042.997388801@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: WIN32 errno patch  (Mikhail Terekhov <terekhov@emc.com>)
Ответы Re: WIN32 errno patch  (Ian Lance Taylor <ian@airs.com>)
Список pgsql-hackers
Mikhail Terekhov <terekhov@emc.com> writes:
> One can't just #undef errno on windows because it is defined as
> follows:

I was wondering if Windows might play any games with errno.  However,
we've had at least one instance of "errno = 0;" in the libpq sources
since 7.0 or before, and no one has complained that it doesn't build
on Windows ... if errno is defined as a function call, that should
yield a compile error, no?

Also, the patch is already in place, and I have a report that it works.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: WIN32 errno patch
Следующее
От: Ian Lance Taylor
Дата:
Сообщение: Re: WIN32 errno patch