diff options
Diffstat (limited to 'src/pal/src/misc/sysinfo.cpp')
-rw-r--r-- | src/pal/src/misc/sysinfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pal/src/misc/sysinfo.cpp b/src/pal/src/misc/sysinfo.cpp index 419c3f6708..1a1a12f02f 100644 --- a/src/pal/src/misc/sysinfo.cpp +++ b/src/pal/src/misc/sysinfo.cpp @@ -95,7 +95,9 @@ SET_DEFAULT_DEBUG_CHANNEL(MISC); #endif #endif // __APPLE__ -DWORD GetTotalCpuCount() +DWORD +PALAPI +PAL_GetTotalCpuCount() { int nrcpus = 0; @@ -150,7 +152,7 @@ PAL_GetLogicalCpuCountFromOS() nrcpus = CPU_COUNT(&cpuSet); #else // HAVE_SCHED_GETAFFINITY - nrcpus = GetTotalCpuCount(); + nrcpus = PAL_GetTotalCpuCount(); #endif // HAVE_SCHED_GETAFFINITY return nrcpus; |