This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] SPU Add support for nanosleep, sleep and usleep


On Wed, Jun 13, 2007 at 01:38:18PM -0400, Jeff Johnston wrote:
> Patrick Mansfield wrote:

> >Jeff -
> >
> >Not for this patch, but should I just remove the #ifdef CYGWIN etc. if I
> >am exposing an existing POSIX prototype?
> 
> Not sure what you mean by this.

Like ftruncate and truncate are in sys/unistd.h inside #ifdef's, but they
are POSIX. For SPU support, should I add another ifdef, or remove all the
other ifdefs?

> >For new POSIX prototypes do I need an #ifdef? For example, I'm adding
> >lockf() and defines for it, do you want an #ifdef __SPU__ around it?
> >
> 
> For now, unless Cygwin and RTEMS want to use them too.

OK.

-- Patrick Mansfield


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]