Explorar o código

Function abort_process is not defined unless we are using timers.

ryankopf %!s(int64=7) %!d(string=hai) anos
pai
achega
44458f8104
Modificáronse 1 ficheiros con 2 adicións e 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]);