Bläddra i källkod

Merge pull request #628 from ryankopf/master

Function abort_process is not defined unless we are using timers.
bel2125 7 år sedan
förälder
incheckning
12f149fa64
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

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