mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 10:28:56 +00:00
random page size for os4
This commit is contained in:
parent
c41fc47512
commit
6b5db63c15
@ -275,6 +275,8 @@ uint32_t git_pool__system_page_size(void)
|
||||
SYSTEM_INFO info;
|
||||
GetSystemInfo(&info);
|
||||
size = (uint32_t)info.dwPageSize;
|
||||
#elif defined(__amigaos4__)
|
||||
size = (uint32_t)1000000; // random value
|
||||
#else
|
||||
size = (uint32_t)sysconf(_SC_PAGE_SIZE);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user