Re: Re: WIN32 errno patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mikhail Terekhov <terekhov(at)emc(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: WIN32 errno patch
Date: 2001-08-09 20:26:41
Message-ID: 4042.997388801@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers pgsql-patches

Mikhail Terekhov <terekhov(at)emc(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-09 20:58:41 Re: WIN32 errno patch
Previous Message Bruce Momjian 2001-08-09 19:46:13 Re: pgsql/src include/access/Tag: include/access/R ...

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-09 20:58:41 Re: WIN32 errno patch
Previous Message Bruce Momjian 2001-08-09 19:40:16 Re: Re: WIN32 errno patch

Browse pgsql-patches by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-09 20:58:41 Re: WIN32 errno patch
Previous Message Bruce Momjian 2001-08-09 19:40:16 Re: Re: WIN32 errno patch