libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 6b83caccb30787918389994d1310306a2d24ef71
parent 9f333edbdf76c1a8e9842ab551b97975570cf192
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  2 Sep 2021 14:56:37 +0300

mhd_limits.h: use alternative name for ULLONG_MAX if available

Diffstat:
Msrc/microhttpd/mhd_limits.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/microhttpd/mhd_limits.h b/src/microhttpd/mhd_limits.h @@ -55,7 +55,11 @@ #endif /* !OFF_T_MAX */ #ifndef ULLONG_MAX +#ifdef ULONGLONG_MAX +#define ULLONG_MAX ULONGLONG_MAX +#else /* ! ULONGLONG_MAX */ #define ULLONG_MAX MHD_UNSIGNED_TYPE_MAX_ (MHD_UNSIGNED_LONG_LONG) +#endif /* ! ULONGLONG_MAX */ #endif /* !ULLONG_MAX */ #ifndef INT32_MAX