diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-06-09 19:34:53 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-06-09 19:34:53 +0000 |
commit | c461ee5489068066b9752ef9de179f3ccf75015b (patch) | |
tree | 9d19be10ad33e2420a3e6c18b6c69cc6f9f863a8 /src/include | |
parent | 2ece82f12eaa7710f044cadb87d7e9890e4c2e05 (diff) | |
download | libmicrohttpd-c461ee5489068066b9752ef9de179f3ccf75015b.tar.gz libmicrohttpd-c461ee5489068066b9752ef9de179f3ccf75015b.zip |
Bump MHD_VERSION, update ChangeLog, substitute MHD_create_response_from_fd_at_offset64() instead of MHD_create_response_from_fd_at_offset()
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/microhttpd.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 995974a9..2269ec1a 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -130,7 +130,7 @@ typedef intptr_t ssize_t; | |||
130 | * Current version of the library. | 130 | * Current version of the library. |
131 | * 0x01093001 = 1.9.30-1. | 131 | * 0x01093001 = 1.9.30-1. |
132 | */ | 132 | */ |
133 | #define MHD_VERSION 0x00094202 | 133 | #define MHD_VERSION 0x00094203 |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * MHD-internal return code for "YES". | 136 | * MHD-internal return code for "YES". |
@@ -2121,6 +2121,12 @@ MHD_create_response_from_fd_at_offset (size_t size, | |||
2121 | int fd, | 2121 | int fd, |
2122 | off_t offset); | 2122 | off_t offset); |
2123 | 2123 | ||
2124 | /* Substitute MHD_create_response_from_fd_at_offset64() instead of MHD_create_response_from_fd_at_offset() | ||
2125 | to minimize possible problems with different off_t options */ | ||
2126 | #define MHD_create_response_from_fd_at_offset(size,fd,offset) \ | ||
2127 | _MHD_DEPR_MACRO("Usage of MHD_create_response_from_fd_at_offset() is deprecated, use MHD_create_response_from_fd_at_offset64()") \ | ||
2128 | MHD_create_response_from_fd_at_offset64((size),(fd),(offset)) | ||
2129 | |||
2124 | 2130 | ||
2125 | /** | 2131 | /** |
2126 | * Create a response object. The response object can be extended with | 2132 | * Create a response object. The response object can be extended with |