Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

fix build issue on some configured Kernels. #510

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 2 additions & 1 deletion include/sys/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
#define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))
#define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))

#define hz HZ
//#define hz HZ
static const int hz = HZ;

#define TIMESPEC_OVERFLOW(ts) \
((ts)->tv_sec < TIME_MIN || (ts)->tv_sec > TIME_MAX)
Expand Down