You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2003/03/04 01:06:33 UTC

cvs commit: apr/misc/unix otherchild.c

bnicholes    2003/03/03 16:06:33

  Modified:    include  apr_thread_proc.h
               misc/unix otherchild.c
  Log:
  Even if the build doesn't support OTHER_CHILD functionality, we still need the
  definitions and typedef's since the function stubs require them.
  
  Revision  Changes    Path
  1.96      +0 -2      apr/include/apr_thread_proc.h
  
  Index: apr_thread_proc.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_thread_proc.h,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- apr_thread_proc.h	3 Mar 2003 20:54:50 -0000	1.95
  +++ apr_thread_proc.h	4 Mar 2003 00:06:33 -0000	1.96
  @@ -130,7 +130,6 @@
   /** @see apr_procattr_limit_set */
   #define APR_LIMIT_NOFILE     3
   
  -#if APR_HAS_OTHER_CHILD || defined(DOXYGEN)
   /**
    * @defgroup Other_Child Other Child Flags
    * @{
  @@ -152,7 +151,6 @@
                                              * this is a no-op.
                                              */
   /** @} */
  -#endif /* APR_HAS_OTHER_CHILD */
   
   /** @see apr_proc_t */
   typedef struct apr_proc_t apr_proc_t;
  
  
  
  1.35      +3 -3      apr/misc/unix/otherchild.c
  
  Index: otherchild.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/otherchild.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- otherchild.c	25 Feb 2003 01:11:10 -0000	1.34
  +++ otherchild.c	4 Mar 2003 00:06:33 -0000	1.35
  @@ -53,12 +53,12 @@
    */
   
   #include "apr.h"
  -
  -#if APR_HAS_OTHER_CHILD
  -
   #include "apr_arch_misc.h"
   #include "apr_arch_threadproc.h"
   #include "apr_arch_file_io.h"
  +
  +#if APR_HAS_OTHER_CHILD
  +
   #ifdef HAVE_TIME_H
   #include <sys/time.h>
   #endif