You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@locus.apache.org on 2000/04/14 03:40:36 UTC

cvs commit: apache-2.0/src/lib/apr/include apr_thread_proc.h

dgaudet     00/04/13 18:40:36

  Modified:    src/lib/apr/include apr_thread_proc.h
  Log:
  protect ap_fork definition inside #if APR_HAS_FORK
  
  Revision  Changes    Path
  1.21      +2 -0      apache-2.0/src/lib/apr/include/apr_thread_proc.h
  
  Index: apr_thread_proc.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_thread_proc.h,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- apr_thread_proc.h	2000/04/14 01:38:40	1.20
  +++ apr_thread_proc.h	2000/04/14 01:40:35	1.21
  @@ -394,6 +394,7 @@
    */
   ap_status_t ap_get_childerr(ap_file_t **new, ap_proc_t *proc);
   
  +#if APR_HAS_FORK
   /* ***APRDOC********************************************************
    * ap_status_t ap_fork(ap_proc_t **proc, ap_context_t *cont) 
    *    This is currently the only non-portable call in APR.  This executes
  @@ -402,6 +403,7 @@
    * arg 2) The context to use. 
    */
   ap_status_t ap_fork(ap_proc_t **proc, ap_context_t *cont);
  +#endif
   
   /* ***APRDOC********************************************************
    * ap_status_t ap_create_process(ap_proc_t **new, const char *progname,