X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fwin32mmap.c;h=1c5a14922f255af2c3b0e75e06925b748d3d7684;hb=44626dc7d562d23b54d969bb73ddeda12d5602e9;hp=779d796cd5f017d4effbede360185a4690cf414e;hpb=ba7e81430a32614982172c7064c01db43f55b4bb;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;