httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@hyperreal.org
Subject cvs commit: apache-1.3/src/include buff.h
Date Tue, 19 May 1998 19:29:01 GMT
brian       98/05/19 12:29:01

  Modified:    src/include buff.h
  Log:
  ugly hack to allow it to compile under compilers which fail on
  zero-sized structs.
  
  Revision  Changes    Path
  1.43      +9 -0      apache-1.3/src/include/buff.h
  
  Index: buff.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/include/buff.h,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- buff.h	1998/05/19 18:00:24	1.42
  +++ buff.h	1998/05/19 19:29:00	1.43
  @@ -206,6 +206,15 @@
       HANDLE hPipeInputRead;
       HANDLE hPipeOutputWrite;
       HANDLE hPipeErrorWrite;
  +#else
  +    /* 
  +     * We need to put a dummy member in here to avoid compilation
  +     * errors under certain Unix compilers, like SGI's and HPUX's,
  +     * which fail to compile a zero-sized struct.  Of course
  +     * it would be much nicer if there was actually a use for this
  +     * structure under Unix.  Aah the joys of x-platform code.
  +     */
  +    int dummy;
   #endif
   };
   API_EXPORT(int) ap_spawn_child_err_buff(pool *, int (*)(void *, child_info *), void *,
  
  
  

Mime
View raw message