[Simh] PATCH: Use _POSIX_TIMERS instead of _POSIX_SOURCE to check for clock_getres

Christopher Redmon credmonster at gmail.com
Mon Apr 9 20:24:47 EDT 2012


Attached is a patch to sim_timer.c to use _POSIX_TIMERS instead of
_POSIX_SOURCE to check for clock_getres.

This fixes a broken "set cpu idle" on NetBSD.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20120409/4253dc4a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sim_timer.patch
Type: application/octet-stream
Size: 376 bytes
Desc: not available
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20120409/4253dc4a/attachment-0002.obj>


More information about the Simh mailing list