diff options
Diffstat (limited to 'base/sys_info_win.cc')
-rw-r--r-- | base/sys_info_win.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/base/sys_info_win.cc b/base/sys_info_win.cc index 8e1a7ba..a195204 100644 --- a/base/sys_info_win.cc +++ b/base/sys_info_win.cc @@ -108,16 +108,4 @@ size_t SysInfo::VMAllocationGranularity() { return sysinfo.dwAllocationGranularity; } -// static -void SysInfo::OperatingSystemVersionNumbers(int32 *major_version, - int32 *minor_version, - int32 *bugfix_version) { - OSVERSIONINFO info = {0}; - info.dwOSVersionInfoSize = sizeof(info); - GetVersionEx(&info); - *major_version = info.dwMajorVersion; - *minor_version = info.dwMinorVersion; - *bugfix_version = 0; -} - } // namespace base |