Commit 319d6013 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More OSX compat hackery, this time for LLVM

parent e5975a5f
......@@ -71,6 +71,7 @@ clock_gettime(int foo, struct timespec *ts)
{
struct timeval tv;
(void)foo;
gettimeofday(&tv, NULL);
ts->tv_sec = tv.tv_sec;
ts->tv_nsec = tv.tv_usec * 1000;
......
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