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

Commit

Permalink
Checks whether the _SC_CLK_TCK and CLOCK_MONOTONIC has been defined e…
Browse files Browse the repository at this point in the history
…arlier (#115)

libtuv-DCO-1.0-Signed-off-by: Robert Sipka [email protected]
  • Loading branch information
robertsipka authored and yichoi committed Jun 11, 2018
1 parent 0a1db9b commit b911717
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/uv-nuttx.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@
#define SIGPROF 27
#define TCP_NODELAY 1

#ifndef _SC_CLK_TCK
#define _SC_CLK_TCK 0x0006
#endif

#ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC 1
#endif

//-----------------------------------------------------------------------------
// date time extension
// uint64_t uv__time_precise();
Expand Down

0 comments on commit b911717

Please sign in to comment.