X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fwin32mmap.c;h=1c5a14922f255af2c3b0e75e06925b748d3d7684;hb=abf411e28d9df669b0e690578a1eb95c0bd29847;hp=779d796cd5f017d4effbede360185a4690cf414e;hpb=61c6457e893f568524155b4197a6be076a27ce3d;p=git.git diff --git a/compat/win32mmap.c b/compat/win32mmap.c index 779d796cd..1c5a14922 100644 --- a/compat/win32mmap.c +++ b/compat/win32mmap.c @@ -1,17 +1,5 @@ #include "../git-compat-util.h" -/* - * Note that this doesn't return the actual pagesize, but - * the allocation granularity. If future Windows specific git code - * needs the real getpagesize function, we need to find another solution. - */ -int mingw_getpagesize(void) -{ - SYSTEM_INFO si; - GetSystemInfo(&si); - return si.dwAllocationGranularity; -} - void *git_mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) { HANDLE hmap;