diff options
author | Sean Gillespie <segilles@microsoft.com> | 2017-07-17 15:13:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 15:13:40 -0700 |
commit | 8b8231291ded137c49632ef808bbbdc9a500507b (patch) | |
tree | 1b9a3a7d9ceaee286019b7d219205d683a883f91 /src/gc | |
parent | 446b27c1325e5b1f38101fee34a698f7d142baf9 (diff) | |
download | coreclr-8b8231291ded137c49632ef808bbbdc9a500507b.tar.gz coreclr-8b8231291ded137c49632ef808bbbdc9a500507b.tar.bz2 coreclr-8b8231291ded137c49632ef808bbbdc9a500507b.zip |
Fix a build break when compiling with Standalone GC on non-Windows platforms (#12858)
Diffstat (limited to 'src/gc')
-rw-r--r-- | src/gc/unix/gcenv.unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/unix/gcenv.unix.cpp b/src/gc/unix/gcenv.unix.cpp index 62b5a1fc52..5693fb4ff5 100644 --- a/src/gc/unix/gcenv.unix.cpp +++ b/src/gc/unix/gcenv.unix.cpp @@ -78,7 +78,7 @@ bool GCToOSInterface::Initialize() { int pageSize = sysconf( _SC_PAGE_SIZE ); - g_pageSizeUnixInl = uint32_t((pageSize > 0) pageSize : 0x1000); + g_pageSizeUnixInl = uint32_t((pageSize > 0) ? pageSize : 0x1000); // Calculate and cache the number of processors on this machine int cpuCount = sysconf(_SC_NPROCESSORS_ONLN); |