Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/freebsd/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ typedef __pid_t pid_t;
#endif

/* These macros are also in sys/time.h. */
#if !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112
#if !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 199309
#define CLOCK_REALTIME 0
#ifdef __BSD_VISIBLE
#define CLOCK_VIRTUAL 1
Expand All @@ -113,14 +113,14 @@ typedef __pid_t pid_t;
#define CLOCK_SECOND 13 /* FreeBSD-specific. */
#define CLOCK_THREAD_CPUTIME_ID 14
#define CLOCK_PROCESS_CPUTIME_ID 15
#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */
#endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 199309 */

#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112
#if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 199309
#if __BSD_VISIBLE
#define TIMER_RELTIME 0x0 /* relative timer */
#endif
#define TIMER_ABSTIME 0x1 /* absolute timer */
#endif /* !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 */
#endif /* !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 199309 */

struct tm {
int tm_sec; /* seconds after the minute [0-60] */
Expand Down