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

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

[Dotgnu-pnet-commits] CVS: pnetlib/samples XHello.cs,1.1,1.2 samples.bu


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/samples XHello.cs,1.1,1.2 samples.build,1.3,1.4
Date: Wed, 28 May 2003 00:53:39 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/samples
In directory subversions:/tmp/cvs-serv730/samples

Modified Files:
        XHello.cs samples.build 
Log Message:


Minor fixes to build in non-full profiles.


Index: XHello.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/samples/XHello.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XHello.cs   28 May 2003 04:30:13 -0000      1.1
--- XHello.cs   28 May 2003 04:53:36 -0000      1.2
***************
*** 24,27 ****
--- 24,30 ----
  public class XHello
  {
+ 
+ #if CONFIG_REFLECTION
+ 
        // Main entry point.
        public static void Main(String[] args)
***************
*** 41,44 ****
--- 44,54 ----
                graphics.DrawLine(0, widget.Height, widget.Width, 0);
        }
+ 
+ #else
+ 
+       // Stubbed out on platforms without Xsharp.
+       public static void Main(String[] args) {}
+ 
+ #endif
  
  } // class XHello

Index: samples.build
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/samples/samples.build,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** samples.build       28 May 2003 04:30:13 -0000      1.3
--- samples.build       28 May 2003 04:53:36 -0000      1.4
***************
*** 187,191 ****
  
                        <references>
!                               <file name="../Xsharp/Xsharp.dll"/>
                                <file name="../runtime/mscorlib.dll"/>
                        </references>
--- 187,191 ----
  
                        <references>
!                               <includes if="${CONFIG_REFLECTION}" 
name="../Xsharp/Xsharp.dll"/>
                                <file name="../runtime/mscorlib.dll"/>
                        </references>





reply via email to

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