blob: 07b1c3afc5cc85785a7e98f8fecc94ffddc7ffd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*-
* Copyright (c) 2014-2017 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* __wt_get_vm_pagesize --
* Return the default page size of a virtual memory page.
*/
int
__wt_get_vm_pagesize(void)
{
SYSTEM_INFO system_info;
GetSystemInfo(&system_info);
return (system_info.dwPageSize);
}
|