https://www.rtems.org/bugzilla/show_bug.cgi?id=2182
Bug #: 2182
Summary: broken RTEMS CLOCKS_PER_SEC interface, when including
only time.h
Classification: Unclassified
Product: RTEMS
Version: 4.10
Platform: All
OS/Version: RTEMS
Status: NEW
Severity: normal
Priority: P3
Component: libcpu
AssignedTo: [email protected]
ReportedBy: [email protected]
I had to patch Lua (a very portable code) as follows for RTEMS 4.10. I had a
look around in the source and maybe its not possible for _SC_CLK_TCK to be
properly defined when expecting to include only the standard C lib clock
interface via time.h. Maybe its fixed in 4.11, but nevertheless I should
probably file a bug report while I see the issue, in case it isn’t.
/*
* repair broken RTEMS CLOCKS_PER_SEC interface
*/
#ifdef __rtems__
# include <sys/unistd.h>
#endif
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs