Changing page_size to allocation granularity.

This commit is contained in:
Ben Vanik
2015-05-18 20:47:09 -07:00
parent 172b14a8a5
commit 92f5fe3b88
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ size_t page_size() {
#if XE_PLATFORM_WIN32
SYSTEM_INFO si;
GetSystemInfo(&si);
value = si.dwPageSize;
value = si.dwAllocationGranularity;
#else
value = getpagesize();
#endif // XE_PLATFORM_WIN32