13 lines
247 B
C#
13 lines
247 B
C#
|
namespace System
|
||
|
{
|
||
|
internal static class MonoUtil
|
||
|
{
|
||
|
public readonly static bool IsUnix;
|
||
|
|
||
|
static MonoUtil ()
|
||
|
{
|
||
|
int platform = (int) Environment.OSVersion.Platform;
|
||
|
IsUnix = platform == 4 || platform == 128 || platform == 6;
|
||
|
}
|
||
|
}
|
||
|
}
|