summary refs log tree commit diff stats
path: root/plugins/sysinfo/osx
AgeCommit message (Collapse)Author
2016-09-30sysinfo: fixup 49758cafba9fd7e0663b550debfd51fb21260650. (#1827)Mihai Moldovan
MAC_OS_X_VERSION_MAX_ALLOWED reflects the currently running OS X version more closely than MAC_OS_X_VERSION_MIN_REQUIRED, given it's defined as max(current_version, MAC_OS_X_VERSION_MIN_REQUIRED). Additionally, we should check if MAC_OS_X_VERSION_10_9 is actually defined, otherwise the whole macro logic breaks apart.
2016-09-25sysinfo: fix compilation on OS X 10.9 and lower. (#1821)Mihai Moldovan
Use the (deprecated) Gestalt functionality for fetching the fine-grained OS X version number on 10.9 and lower. The newer NSOperatingSystemVersion structure is only available on 10.10+.
2015-02-21Unify sysinfo plugins and add osx supportTingPing
This does remove the net* commands from the Unix version that may return at a later date with OSX and Windows support. This commit also makes numerious other changes such as code cleanup, reformatting, etc. Closes #829