Browse Source

Avoid clash of symbol clock_gettime

bel2125 8 years ago
parent
commit
2b6392fc58
1 changed files with 1 additions and 0 deletions
  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)
 {