Procházet zdrojové kódy

Merge pull request #628 from ryankopf/master

Function abort_process is not defined unless we are using timers.
bel2125 před 7 roky
rodič
revize
12f149fa64
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

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