Re: ECPG interface: 7.4beta3 compile failure; CVS tip compile failure - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ECPG interface: 7.4beta3 compile failure; CVS tip compile failure
Date
Msg-id 20030919063851.GA13035@feivel.fam-meskes.de
Whole thread Raw
In response to ECPG interface: 7.4beta3 compile failure; CVS tip compile failure  (Oliver Elphick <olly@lfix.co.uk>)
Responses Re: ECPG interface: 7.4beta3 compile failure; CVS tip  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-hackers
On Thu, Sep 18, 2003 at 06:53:00PM +0100, Oliver Elphick wrote:
> Line 138 begins the definition of strndup().  However, strndup() is also
> declared in string.h, which is included by this file.  If I rename this
> function to estrndup() (and also where it is called, further down) the
> compilation succeeds.

I included strndup because some systems didn't seem to have it. Any idea
what else I could do? Okay, I could rename it and use only the renamed
function as it's just used internally.

What surprises me is that it compiles fine for me despite using the very
same system as Oliver to compile.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.4beta2 vs 7.3.3
Next
From: Christoph Haller
Date:
Subject: Re: change of table name - any help