bjh         99/10/23 21:30:20

  Modified:    src/lib/apr/mmap/unix mmap.c
  Log:
  Don't try to compile mmap functions if the platform doesn't have mmap.
  
  Revision  Changes    Path
  1.3       +4 -0      apache-2.0/src/lib/apr/mmap/unix/mmap.c
  
  Index: mmap.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/mmap/unix/mmap.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mmap.c    1999/10/21 21:13:34     1.2
  +++ mmap.c    1999/10/24 04:30:19     1.3
  @@ -53,6 +53,8 @@
    *
    */
   
  +#if HAVE_MMAP
  +
   #include "mmap_h.h"
   #include "fileio.h"
   #include "apr_mmap.h"
  @@ -175,3 +177,5 @@
       }
       return rv;
   }
  +
  +#endif
  
  
  

Reply via email to