mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 17:05:49 +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;
|
SYSTEM_INFO info;
|
||||||
GetSystemInfo(&info);
|
GetSystemInfo(&info);
|
||||||
size = (uint32_t)info.dwPageSize;
|
size = (uint32_t)info.dwPageSize;
|
||||||
|
#elif defined(__amigaos4__)
|
||||||
|
size = (uint32_t)1000000; // random value
|
||||||
#else
|
#else
|
||||||
size = (uint32_t)sysconf(_SC_PAGE_SIZE);
|
size = (uint32_t)sysconf(_SC_PAGE_SIZE);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user