aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-11-06 23:31:26 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-11-07 00:11:57 +0300
commitec204f59a7466ca6f4f91b4db1a42e0e0c525907 (patch)
treebc44e4bd581138e358daccf6305afde6ecf60892 /src/microhttpd/internal.h
parent73da168180856c913ae2bb32a5780d9c06112e8d (diff)
downloadlibmicrohttpd-ec204f59a7466ca6f4f91b4db1a42e0e0c525907.tar.gz
libmicrohttpd-ec204f59a7466ca6f4f91b4db1a42e0e0c525907.zip
Added support for Solaris-style sendfile
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 25a24588..0c986196 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -806,13 +806,13 @@ struct MHD_Connection
806 */ 806 */
807 uint64_t response_write_position; 807 uint64_t response_write_position;
808 808
809#if defined(HAVE_LINUX_SENDFILE) || defined(HAVE_FREEBSD_SENDFILE) 809#if defined(MHD_LINUX_SOLARIS_SENDFILE) || defined(HAVE_FREEBSD_SENDFILE)
810 enum MHD_resp_sender_ 810 enum MHD_resp_sender_
811 { 811 {
812 MHD_resp_sender_std = 0, 812 MHD_resp_sender_std = 0,
813 MHD_resp_sender_sendfile 813 MHD_resp_sender_sendfile
814 } resp_sender; 814 } resp_sender;
815#endif /* HAVE_LINUX_SENDFILE || HAVE_FREEBSD_SENDFILE */ 815#endif /* MHD_LINUX_SOLARIS_SENDFILE || HAVE_FREEBSD_SENDFILE */
816 816
817 /** 817 /**
818 * Position in the 100 CONTINUE message that 818 * Position in the 100 CONTINUE message that