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

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

[Dotgnu-pnet-commits] CVS: pnetlib/System S.cs,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System S.cs,1.2,1.3
Date: Tue, 15 Apr 2003 23:17:57 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System
In directory subversions:/tmp/cvs-serv5830/System

Modified Files:
        S.cs 
Log Message:


Modifications to allow the library to be built with the
"RuntimeInfrastructure" subset turned off.


Index: S.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/S.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** S.cs        15 Apr 2003 01:48:05 -0000      1.2
--- S.cs        16 Apr 2003 03:17:55 -0000      1.3
***************
*** 31,34 ****
--- 31,37 ----
  internal sealed class S
  {
+ 
+ #if CONFIG_RUNTIME_INFRA
+ 
        // Cached copy of the resources for this assembly and mscorlib.
  #if ECMA_COMPAT
***************
*** 78,81 ****
--- 81,94 ----
                                }
                        }
+ 
+ #else // !CONFIG_RUNTIME_INFRA
+ 
+       // We don't have sufficient runtime infrastructure to load resources.
+       public static String _(String tag)
+                       {
+                               return tag;
+                       }
+ 
+ #endif // !CONFIG_RUNTIME_INFRA
  
  }; // class S





reply via email to

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