pread64

Daniel Jacobowitz drow@mvista.com
Fri Jan 3 01:08:00 GMT 2003


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



More information about the Gdb mailing list