gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/04: mhd_limits.h: use alternative name for ULLONG_MAX


From: gnunet
Subject: [libmicrohttpd] 01/04: mhd_limits.h: use alternative name for ULLONG_MAX if available
Date: Thu, 02 Sep 2021 14:18:27 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

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

    mhd_limits.h: use alternative name for ULLONG_MAX if available
---
 src/microhttpd/mhd_limits.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/microhttpd/mhd_limits.h b/src/microhttpd/mhd_limits.h
index b97fce6f..54cf62de 100644
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]