APR_HAS_MMAP is defined
check for APR_HAS_SENDFILE around the declaration of
file; most of the other sendfile logic does this already
Submitted by: Greg Ames
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85768
13f79535-47bb-0310-9956-
ffa450edef68
static int once_through = 0;
typedef struct {
+#if APR_HAS_SENDFILE
ap_file_t *file;
+#endif
char *filename;
ap_finfo_t finfo;
int is_mmapped;
+#if APR_HAS_MMAP
+ ap_mmap_t *mm;
+#endif
} a_file;
typedef struct {