From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org> |
Cc: | PostgreSQL hackers list <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ECPG interface: 7.4beta3 compile failure; CVS tip |
Date: | 2003-09-19 15:49:36 |
Message-ID: | 1063986576.18550.1659.camel@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 2003-09-19 at 07:38, Michael Meskes wrote:
> 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.
Perhaps you should enclose your definition in
#ifndef __USE_GNU
#endif
src/include/port/linux.h now forces _GNU_SOURCE on, which in turn
defines __USE_GNU. Do you somehow override the definition of
_GNU_SOURCE?
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Bring ye all the tithes into the storehouse, that
there may be meat in mine house, and prove me now
herewith, saith the LORD of hosts, if I will not open
you the windows of heaven, and pour you out a
blessing, that there shall not be room enough to
receive it." Malachi 3:10
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Bartunov | 2003-09-19 16:31:45 | Re: NuSphere and PostgreSQL for windows |
Previous Message | Tom Lane | 2003-09-19 15:25:16 | Re: NuSphere and PostgreSQL for windows |