summaryrefslogtreecommitdiff
path: root/src/gc
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2017-07-17 15:13:40 -0700
committerGitHub <noreply@github.com>2017-07-17 15:13:40 -0700
commit8b8231291ded137c49632ef808bbbdc9a500507b (patch)
tree1b9a3a7d9ceaee286019b7d219205d683a883f91 /src/gc
parent446b27c1325e5b1f38101fee34a698f7d142baf9 (diff)
downloadcoreclr-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.cpp2
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);