From 8b8231291ded137c49632ef808bbbdc9a500507b Mon Sep 17 00:00:00 2001 From: Sean Gillespie Date: Mon, 17 Jul 2017 15:13:40 -0700 Subject: [PATCH] Fix a build break when compiling with Standalone GC on non-Windows platforms (#12858) --- src/gc/unix/gcenv.unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gc/unix/gcenv.unix.cpp b/src/gc/unix/gcenv.unix.cpp index 62b5a1f..5693fb4 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); -- 2.7.4