소스 검색

Avoid clash of symbol clock_gettime

bel2125 8 년 전
부모
커밋
2b6392fc58
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)
 {