Explorar el Código

Function abort_process is not defined unless we are using timers.

ryankopf hace 7 años
padre
commit
44458f8104
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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]);