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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2008-10-08 09:39:11 +0400
committerZoltan Varga <vargaz@gmail.com>2008-10-08 09:39:11 +0400
commitcaf3a7995f1e211fdca3e3c73bc474610f93b9b9 (patch)
tree1e1e2cb713e19b19bb2e39b8e9b1bb8a4daa5e70
parent3eb3075f1194258ea080c2868eb2cea26c88d07c (diff)
2008-10-08 Zoltan Varga <vargaz@gmail.com>
* PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it is part of NET 3.5 SP1. svn path=/trunk/mcs/; revision=115164
-rw-r--r--mcs/class/corlib/System/ChangeLog5
-rw-r--r--mcs/class/corlib/System/PlatformID.cs7
2 files changed, 9 insertions, 3 deletions
diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog
index e3206b2108c..0a1dc25d4ce 100644
--- a/mcs/class/corlib/System/ChangeLog
+++ b/mcs/class/corlib/System/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-08 Zoltan Varga <vargaz@gmail.com>
+
+ * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
+ is part of NET 3.5 SP1.
+
2008-10-07 Marek Habersack <mhabersack@novell.com>
* Math.cs: implemented the away from zero rounding for the Round
diff --git a/mcs/class/corlib/System/PlatformID.cs b/mcs/class/corlib/System/PlatformID.cs
index aa63e0966ee..c48479ca5b5 100644
--- a/mcs/class/corlib/System/PlatformID.cs
+++ b/mcs/class/corlib/System/PlatformID.cs
@@ -53,9 +53,10 @@ namespace System
#if NET_2_0
Unix = 4,
#endif
-#if NET_2_1
- Xbox,
- MacOSX,
+#if NET_2_0 || NET_2_1
+ // Since NET 3.5 SP1 or silverlight
+ Xbox = 5,
+ MacOSX = 6,
#endif
}
}