aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2015-07-07 18:32:33 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2015-07-07 18:32:33 +0000
commit2c842e6b95498e1dc56584b7e0c1570b9cd0792c (patch)
treec635986412eb76f04bcf317a99b0540192a803fb /src/include/platform.h
parent4a251757ab5c98c9d747e73f310d0c28cf991b05 (diff)
downloadlibmicrohttpd-2c842e6b95498e1dc56584b7e0c1570b9cd0792c.tar.gz
libmicrohttpd-2c842e6b95498e1dc56584b7e0c1570b9cd0792c.zip
Move all internal limits definitions to MHD_limits.h
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 472696b6..9e33ee70 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -206,12 +206,4 @@ typedef MHD_socket MHD_pipe;
206#define IPPROTO_IPV6 IPPROTO_IPV6 206#define IPPROTO_IPV6 IPPROTO_IPV6
207#endif 207#endif
208 208
209#ifndef OFF_T_MAX
210#define OFF_T_MAX ((off_t) ~(((uint64_t) 1) << (8 * sizeof(off_t) - 1)))
211#endif
212
213#if defined(_LARGEFILE64_SOURCE) && !defined(OFF64_T_MAX)
214#define OFF64_T_MAX ((off64_t) ~(((uint64_t) 1) << (8 * sizeof(off64_t) - 1)))
215#endif
216
217#endif 209#endif