diff options
-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); |