Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LibGit2Sharp/Core/Platform.cs')
-rw-r--r--LibGit2Sharp/Core/Platform.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/LibGit2Sharp/Core/Platform.cs b/LibGit2Sharp/Core/Platform.cs
index debdc73a..d18613d2 100644
--- a/LibGit2Sharp/Core/Platform.cs
+++ b/LibGit2Sharp/Core/Platform.cs
@@ -13,10 +13,7 @@ namespace LibGit2Sharp.Core
{
public static string ProcessorArchitecture
{
- get
- {
- return Environment.Is64BitProcess ? "amd64" : "x86";
- }
+ get { return Environment.Is64BitProcess ? "amd64" : "x86"; }
}
public static OperatingSystemType OperatingSystem
@@ -29,8 +26,10 @@ namespace LibGit2Sharp.Core
case 4:
case 128:
return OperatingSystemType.Unix;
+
case 6:
return OperatingSystemType.MacOSX;
+
default:
return OperatingSystemType.Windows;
}