Skip to content
Permalink
Browse files
Reviewed by Darin Adler.
Restore original behavior of isOSX() referring to the Mac port, not the OS itself.

https://bugs.webkit.org/show_bug.cgi?id=19311


Canonical link: https://commits.webkit.org/26711@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34206 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Kevin Ollivier committed May 29, 2008
1 parent b41ff47 commit 62d24b31ff89859980690f0ded21622ef8293c93
Showing 2 changed files with 19 additions and 1 deletion.
@@ -1,3 +1,13 @@
2008-05-29 Kevin Ollivier <kevino@theolliviers.com>

Reviewed by Darin Adler.

Restore original behavior of isOSX() referring to the Mac port, not the OS itself.

https://bugs.webkit.org/show_bug.cgi?id=19311

* Scripts/webkitdirs.pm:

2008-05-29 Alexey Proskuryakov <ap@webkit.org>

Reviewed by Adam Roben.
@@ -512,11 +512,19 @@ sub isCygwin()
return ($^O eq "cygwin") || 0;
}

sub isOSX()
sub isDarwin()
{
return ($^O eq "darwin") || 0;
}

# isOSX() only returns true for Apple's port, not for other ports that can be
# built/run on OS X.
sub isOSX()
{
return isDarwin() unless (isQt() or isGtk() or isWx());
return 0;
}

sub determineOSXVersion()
{
return if $osXVersion;

0 comments on commit 62d24b3

Please sign in to comment.