replaced compile time with runtime mono check.

This commit is contained in:
kay.one 2013-02-16 14:24:58 -08:00
commit 2873fc9f6d
7 changed files with 35 additions and 30 deletions

View file

@ -36,6 +36,11 @@ namespace NzbDrone.Common
}
}
public static bool IsMono
{
get { return Type.GetType("Mono.Runtime") != null; }
}
public static bool IsDebug
{
get