[uClibc] build problem
Alan Hourihane
alanh at fairlite.demon.co.uk
Tue Feb 17 11:12:33 UTC 2004
On Tue, Feb 17, 2004 at 03:48:26AM -0700, Erik Andersen wrote:
> On Tue Feb 17, 2004 at 10:34:47AM +0000, Alan Hourihane wrote:
> > This gets the build working on alpha again.
> [----------snip----------]
> > -_syscall1(int, fdatasync, int, fd);
> > +#if defined (__alpha__)
> > +#define __NR___syscall_fdatasync __NR_osf_fdatasync
> > +#else
> > +#define __NR___syscall_fdatasync __NR_fdatasync
> > +#endif
> > +
> > +_syscall1(int, __syscall_fdatasync, int, fd);
>
> Hmm. Except this would then leave everyone without
> an fdatasync() symbol... How about this instead?
Sorry Erik, yes your right - bit of brain failure this morning.
I re-examined the get*.c files and they implement a function, and
not just a syscall for it.
So yes, your patch does just fine.
Alan.
More information about the uClibc
mailing list