[Top][All Lists]

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

[libmicrohttpd] branch master updated (7e364798 -> 7eb3139e)

From: gnunet
Subject: [libmicrohttpd] branch master updated (7e364798 -> 7eb3139e)
Date: Mon, 05 Oct 2020 21:20:31 +0200

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 7e364798 configure: check and report target W32 version. Default W32 
version is now Vista or later. WinXP is still supported by MHD
     new 74ccb7ae memorypool: fixed typo
     new 7eb3139e memorypool: added sanity checks

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.

Summary of changes:
 src/microhttpd/memorypool.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index a4207a92..4d619464 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -65,10 +65,10 @@
 #define ROUND_TO_ALIGN(n) (((n) + (ALIGN_SIZE - 1)) \
                            / (ALIGN_SIZE) *(ALIGN_SIZE))
-#if defined(PAGE_SIZE)
-#elif defined(PAGESIZE)
+#if defined(PAGE_SIZE) && (0 < (PAGE_SIZE + 0))
+#elif defined(PAGESIZE) && (0 < (PAGESIZE + 0))
 #else  /* ! PAGESIZE */
 #define MHD_DEF_PAGE_SIZE_ (4096)
 #endif /* ! PAGESIZE */

To stop receiving notification emails like this one, please contact

reply via email to

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