Use sysconf for page size

This commit is contained in:
Nils O. Selåsdal
2026-06-09 20:13:41 +02:00
parent 0ab59ccd13
commit d3199a09d8
+1 -1
View File
@@ -10,7 +10,7 @@
U32 platform_page_size(void)
{
return getpagesize();
return sysconf(_SC_PAGESIZE);
}
void *platform_malloc(size_t size)