Add detection of getpagesize() function in libc. Declare
empty "NO_GETPAGESIZE" macro in case if getpagesize()
exists and "NO_GETPAGESIZE=YesPlease" if no.

Signed-off-by: Mike Gorchak <>

--- | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ b/
index d0e82c1..3963429 100644
--- a/
+++ b/
@@ -993,6 +993,11 @@ GIT_CHECK_FUNC(initgroups,
+# Define NO_GETPAGESIZE if you don't have getpagesize in the C library.
 # Define NO_MMAP if you want to avoid mmap.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to