소스 검색

Merge pull request #628 from ryankopf/master

Function abort_process is not defined unless we are using timers.
bel2125 7 년 전
부모
커밋
12f149fa64
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

@@ -11103,7 +11103,9 @@ done:
 
 #if defined(USE_TIMERS)
 	if (pid != (pid_t)-1) {
+#if defined(USE_TIMERS)
 		abort_process((void *)pid);
+#endif
 	}
 #endif /* USE_TIMERS */
 	if (fdin[0] != -1) {