Browse Source

Function abort_process is not defined unless we are using timers.

ryankopf 7 years ago
parent
commit
44458f8104
1 changed files with 2 additions and 0 deletions
  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]);