You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@hyperreal.org on 1999/12/09 22:47:55 UTC

cvs commit: apache-2.0/src/main http_protocol.c

stoddard    99/12/09 13:47:50

  Modified:    src/main http_protocol.c
  Log:
  Fix Windows build break
  
  Revision  Changes    Path
  1.40      +3 -0      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- http_protocol.c	1999/11/30 03:36:33	1.39
  +++ http_protocol.c	1999/12/09 21:47:45	1.40
  @@ -2155,6 +2155,8 @@
       return total_bytes_sent;
   }
   
  +#ifdef USE_MMAP_FILES
  +
   /* The code writes MMAP_SEGMENT_SIZE bytes at a time.  This is due to Apache's
    * timeout model, which is a timeout per-write rather than a time for the
    * entire transaction to complete.  Essentially this should be small enough
  @@ -2218,6 +2220,7 @@
       SET_BYTES_SENT(r);
       return total_bytes_sent;
   }
  +#endif /* USE_MMAP_FILES */
   
   API_EXPORT(int) ap_rputc(int c, request_rec *r)
   {