diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-15 12:52:47 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-17 17:08:51 +0400 |
commit | e32ededdecb29ed6f18f0e094daa54a358b52cf5 (patch) | |
tree | 3db57ba875c6260cffcf76d8ac156088cdc54618 /main/src/addins/CBinding | |
parent | 584eeb946d4041d3cbf81bcbafa457958e645292 (diff) |
[Core] Move Platform detection code to Platform class
This means we can detect the platform without initializing
the PropertyService.
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/Parser/TagDatabaseManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/CBinding/Parser/TagDatabaseManager.cs b/main/src/addins/CBinding/Parser/TagDatabaseManager.cs index e2658afa74..c88d2c4db0 100644 --- a/main/src/addins/CBinding/Parser/TagDatabaseManager.cs +++ b/main/src/addins/CBinding/Parser/TagDatabaseManager.cs @@ -88,7 +88,7 @@ namespace CBinding.Parser try { var output = new StringWriter (); Runtime.ProcessService.StartProcess (CTagsManager.CTagsExecutable, "--version", null, output, null, null).WaitForExit (); - if (PropertyService.IsMac && !output.ToString ().StartsWith ("Exuberant", StringComparison.Ordinal)) { + if (Platform.IsMac && !output.ToString ().StartsWith ("Exuberant", StringComparison.Ordinal)) { System.Console.WriteLine ("Fallback to OSX ctags"); ctags = new BsdCTagsManager (); } else { |