httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/include http_protocol.h
Date Mon, 22 Jan 2001 23:07:25 GMT
rbb         01/01/22 15:07:24

  Modified:    include  http_protocol.h
  Log:
  We only want to define ap_send_mmap if APR_HAS_MMAP is true.  Without
  this, we don't build successfully.
  
  Revision  Changes    Path
  1.44      +2 -0      httpd-2.0/include/http_protocol.h
  
  Index: http_protocol.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_protocol.h,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -d -b -w -u -r1.43 -r1.44
  --- http_protocol.h	2001/01/19 07:04:12	1.43
  +++ http_protocol.h	2001/01/22 23:07:23	1.44
  @@ -227,6 +227,7 @@
   AP_DECLARE(apr_status_t) ap_send_fd(apr_file_t *fd, request_rec *r, apr_off_t offset, 
                                      apr_size_t length, apr_size_t *nbytes);
   
  +#if APR_HAS_MMAP
   /**
    * Send an MMAP'ed file to the client
    * @param mm The MMAP'ed file to send
  @@ -238,6 +239,7 @@
    */
   AP_DECLARE(size_t) ap_send_mmap(apr_mmap_t *mm, request_rec *r, size_t offset,
                                size_t length);
  +#endif
   
   /**
    * Create a new method list with the specified number of preallocated
  
  
  

Mime
View raw message