Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ a.out
autom4te.cache
darkstat-*
hex-ify
hex-ify.DSYM/
c-ify
c-ify.DSYM/
config.h
config.h.in
config.log
Expand Down
2 changes: 2 additions & 0 deletions now.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
# include <mach/mach.h>
# include <mach/mach_time.h>

# ifndef CLOCK_REALTIME
typedef int clockid_t;
# define CLOCK_REALTIME 0
# define CLOCK_MONOTONIC 1
# endif

static uint64_t mono_first = 0;

Expand Down