Index: webrtc/system_wrappers/source/cpu_info.cc |
diff --git a/webrtc/system_wrappers/source/cpu_info.cc b/webrtc/system_wrappers/source/cpu_info.cc |
index f151ceaae7db02a09753f5d72a97cd899eea3334..590d2d975c3ab7cbf7c5772f6fcc68222c8dcccf 100644 |
--- a/webrtc/system_wrappers/source/cpu_info.cc |
+++ b/webrtc/system_wrappers/source/cpu_info.cc |
@@ -32,7 +32,7 @@ static int DetectNumberOfCores() { |
#if defined(WEBRTC_WIN) |
SYSTEM_INFO si; |
- GetSystemInfo(&si); |
+ GetNativeSystemInfo(&si); |
number_of_cores = static_cast<int>(si.dwNumberOfProcessors); |
#elif defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID) |
number_of_cores = static_cast<int>(sysconf(_SC_NPROCESSORS_ONLN)); |