c-libp2p/include/libp2p/os/timespec.h
2017-10-11 11:23:25 -05:00

11 lines
165 B
C

#pragma once
/**
* mac doesn't have timespec_get
*/
#ifdef __MACH__
#include <time.h>
#define TIME_UTC 1
int timespec_get(struct timespec *ts, int base);
#endif