Re: cygwin build failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: cygwin build failure
Date
Msg-id 11388.1099772957@sss.pgh.pa.us
Whole thread Raw
In response to Re: cygwin build failure  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: cygwin build failure
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Andrew Dunstan wrote:
>> /home/adunstan/pgbf/root/HEAD/pgsql.3200/src/port/pgstrcasecmp.c:119: multiple definition of `_pg_tolower'

> The _pg_tolower problem started when I changed exec.c to use the more
> standard pg_strcasecmp rather than stricmp.

Since it's in an #ifdef WIN32 section, there's probably no harm in
changing it back.

Dunno about the optarg business; it sounds like a DLLIMPORT is needed
someplace, but maybe that is a bug in the Cygwin headers rather than
our bug?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: relative_path() seems overly complicated and buggy
Next
From: Tom Lane
Date:
Subject: Re: Increasing the length of pg_stat_activity.current_query...