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
4 changes: 2 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <bmon/conf.h>
#include <bmon/utils.h>

#ifdef __MACH__
#if defined(__MACH__) && defined(__APPLE__)
#include <mach/clock.h>
#include <mach/mach.h>
#endif
Expand Down Expand Up @@ -117,7 +117,7 @@ int timestamp_is_negative(timestamp_t *ts)

void update_timestamp(timestamp_t *dst)
{
#ifdef __MACH__
#if defined(__MACH__) && defined(__APPLE__)
clock_serv_t cclock;
mach_timespec_t tp;

Expand Down