summaryrefslogtreecommitdiff
path: root/src/gc/env/gcenv.unix.inl
blob: 50683aeea899078760f1ea5defeeb31d1326b5c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#ifndef __GCENV_UNIX_INL__
#define __GCENV_UNIX_INL__

#include "gcenv.os.h"

extern uint32_t g_pageSizeUnixInl;

#define OS_PAGE_SIZE GCToOSInterface::GetPageSize()

__forceinline uint32_t GCToOSInterface::GetPageSize()
{
    return g_pageSizeUnixInl;
}

#endif // __GCENV_UNIX_INL__