Tiny CLR won't tell you what the OS is. Assume tiny CLR is running on Windows.

This commit is contained in:
Louis DeJardin 2014-06-27 20:59:39 -07:00
parent e4b9bd265c
commit 0f1a72e7e0
1 changed files with 4 additions and 0 deletions

View File

@ -12,8 +12,12 @@ namespace Microsoft.AspNet.Server.Kestrel.Networking
{
public static bool IsWindows()
{
#if K10
return true;
#else
var p = (int)Environment.OSVersion.Platform;
return (p != 4) && (p != 6) && (p != 128);
#endif
}
public static void Apply(Libuv libuv)