Problems with rewinddir() on RTEMS
Ralf Corsepius
ralf.corsepius@rtems.org
Fri Jul 16 15:52:00 GMT 2010
On 07/05/2010 05:49 PM, Corinna Vinschen wrote:
> On Jul 5 17:47, Corinna Vinschen wrote:
>> So, scratch my patch. That means only a prottype for _seekdir is
>> missing in libc/sys/rtems/sys/dirent.h. In libc/sys/linux/sys/dirent.h
>> the function is declared unconditionally. Is that ok for RTEMS as well
>> or should it be guarded with __COMPILING_NEWLIB?
>
> _COMPILING_NEWLIB, of course.
I for one would prefer it guarded, or even moved into a private header.
Ralf
More information about the Newlib
mailing list