Commit ab00fda5 authored by Jordan Sissel's avatar Jordan Sissel

More energy trying to get this to compile on two platforms

parent 2f401e35
#define _BSD_SOURCE
#include "emitter.h"
#include <time.h>
#include <zmq.h>
#include "insist.h"
#include <errno.h>
#include <stdint.h> /* C99 for int64_t */
#include <string.h>
#ifdef __MACH__
......@@ -24,6 +23,8 @@ long clock_gettime(clockid_t __attribute__((unused)) which_clock, struct timespe
tp->tv_nsec = mts.tv_nsec;
return 0; /* success, according to clock_gettime(3) */
}
#else
#include <time.h>
#endif
// end gist copy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment