Преглед изворни кода

Merge remote-tracking branch 'origin/maint-0.2.8' into maint-0.2.8

Nick Mathewson пре 9 година
родитељ
комит
9c899dad31
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/common/compat_pthreads.c

+ 5 - 0
src/common/compat_pthreads.c

@@ -21,6 +21,11 @@
 #include "torlog.h"
 #include "util.h"
 
+#ifdef __APPLE__
+#undef CLOCK_MONOTONIC
+#undef HAVE_CLOCK_GETTIME
+#endif
+
 /** Wraps a void (*)(void*) function and its argument so we can
  * invoke them in a way pthreads would expect.
  */