dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform InfoMethods.cs, 1.4,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform InfoMethods.cs, 1.4, 1.5
Date: Thu, 18 Sep 2003 22:18:28 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform
In directory subversions:/tmp/cvs-serv1460/runtime/Platform

Modified Files:
        InfoMethods.cs 
Log Message:


Add the autoconf platform name to the string returned by
"OperatingSystem.ToString()" for "Unix" platforms so that
applications can detect the system type should they need to.


Index: InfoMethods.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform/InfoMethods.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** InfoMethods.cs      31 Aug 2003 03:41:06 -0000      1.4
--- InfoMethods.cs      19 Sep 2003 02:18:25 -0000      1.5
***************
*** 61,64 ****
--- 61,68 ----
        extern public static PlatformID GetPlatformID();
  
+       // Get the autoconf name for the platform that we are running on.
+       [MethodImpl(MethodImplOptions.InternalCall)]
+       extern public static String GetPlatformName();
+ 
  #endif // !ECMA_COMPAT
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]