random page size for os4

This commit is contained in:
Chris Young 2012-06-07 21:40:07 +01:00
parent c41fc47512
commit 6b5db63c15

View File

@ -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