[SIGAR-233] Update sys_info API to recognize MacOSX 10.7 as 'Lion'

This commit is contained in:
Doug MacEachern 2011-07-18 10:50:53 -07:00
parent d83284613b
commit a04f46a647
1 changed files with 3 additions and 0 deletions

View File

@ -3484,6 +3484,9 @@ int sigar_os_sys_info_get(sigar_t *sigar,
case 6: case 6:
codename = "Snow Leopard"; codename = "Snow Leopard";
break; break;
case 7:
codename = "Lion";
break;
default: default:
codename = "Unknown"; codename = "Unknown";
break; break;