aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
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