ben         96/12/12 08:45:34

  Modified:    src       conf.h
  Log:
  Fix waitpid() substiture for NeXT.
  
  Revision  Changes    Path
  1.59      +1 -1      apache/src/conf.h
  
  Index: conf.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/conf.h,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -C3 -r1.58 -r1.59
  *** conf.h    1996/12/10 20:12:30     1.58
  --- conf.h    1996/12/12 16:45:32     1.59
  ***************
  *** 202,208 ****
    #define STDIN_FILENO  0
    #define STDOUT_FILENO 1
    #define STDERR_FILENO 2
  ! #define waitpid(a,b,c) wait4(a,(union wait *)b,c,NULL)
    typedef int pid_t;
    #define JMP_BUF jmp_buf
    #define NO_USE_SIGACTION
  --- 202,208 ----
    #define STDIN_FILENO  0
    #define STDOUT_FILENO 1
    #define STDERR_FILENO 2
  ! #define waitpid(a,b,c) wait4((a) == -1 ? 0 : (a),(union wait *)(b),c,NULL)
    typedef int pid_t;
    #define JMP_BUF jmp_buf
    #define NO_USE_SIGACTION
  
  
  

Reply via email to