[rtems] Tweaks to sys/features.h

Ralf Corsepius ralf.corsepius@rtems.org
Thu Nov 20 19:07:00 GMT 2008


Hi again,

another RTEMS specific newlib patch, we'd like to see merged into
newlib.

This patch address 2 issue with sys/features.h:
* POSIX/SUSv3 mandates _POSIX_MONOTONIC_CLOCK to be set to -1, 0 or
200112L. RTEMS supports _POSIX_MONOTONIC_CLOCK but doesn't support
sysconf(), so it must be set 200112L.

* RTEMS doesn't support _POSIX_SHARED_MEMORY_OBJECTS. The setting having
been used so far was wrong.

Ralf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-features.h.patch
Type: text/x-patch
Size: 1092 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20081120/30b95399/attachment.bin>


More information about the Newlib mailing list