diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-11 21:39:52 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-11 21:39:52 -0400 |
commit | de8910bcbb3adf4d2cae4fce4f3f5d652c3d0500 (patch) | |
tree | 5fcadb4bdb26d3e1434c87a073ae3b14c31a8788 /pts-core/functions/pts-init.php | |
parent | 0110e91639ed6dcae26ba473e762bc435a4a93ef (diff) | |
download | phoronix-test-suite-upstream-de8910bcbb3adf4d2cae4fce4f3f5d652c3d0500.tar.gz phoronix-test-suite-upstream-de8910bcbb3adf4d2cae4fce4f3f5d652c3d0500.tar.xz phoronix-test-suite-upstream-de8910bcbb3adf4d2cae4fce4f3f5d652c3d0500.zip |
pts-core: Add Mac OS X operating system detection support (using the
IS_MACOSX define)
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r-- | pts-core/functions/pts-init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php index d73bb02..1800fd7 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -81,7 +81,7 @@ function pts_init() define("IS_SCTP_MODE", false); // Operating System Detection - $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD"); + $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD", array("MacOSX", "Darwin")); $uname_s = strtolower(trim(shell_exec("uname -s"))); foreach($supported_operating_systems as $os_check) |