Browse Source

Function abort_process is not defined unless we are using timers.

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

+ 2 - 0
src/civetweb.c

@@ -11100,7 +11100,9 @@ done:
 	mg_free(blk.buf);
 
 	if (pid != (pid_t)-1) {
+#if defined(USE_TIMERS)
 		abort_process((void *)pid);
+#endif
 	}
 	if (fdin[0] != -1) {
 		close(fdin[0]);