This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: pread64
On Fri, Jan 03, 2003 at 01:51:37AM +0100, Mark Kettenis wrote:
> Hi Daniel,
>
> As you've probably noticed I've been hacking away at GDB's configure
> script over the last few days. In the process, I've stumbled over the
> rather erhh... "baroque" way that's used to make sure a prototype for
> pread64 is available. This made me wonder if you'd considered
> defining _GNU_SOURCE instead?
At the time I just wanted to make sure it got defined; those three are
all documented macros, and it was the first thing I came up with trying
to go header -> appropriate macros. If you prefer -D_GNU_SOURCE, go
right ahead.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer