Browse Source

Avoid clash of symbol clock_gettime

bel2125 8 năm trước cách đây
mục cha
commit
2b6392fc58
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -396,6 +396,7 @@ struct timespec {
 #endif
 
 #ifdef MUST_IMPLEMENT_CLOCK_GETTIME
+#define clock_gettime mg_clock_gettime
 static int
 clock_gettime(clockid_t clk_id, struct timespec *tp)
 {