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/System/Resources ResourceRead


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Resources ResourceReader.cs, 1.6, 1.7
Date: Mon, 01 Sep 2003 00:17:30 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Resources
In directory subversions:/tmp/cvs-serv15767/runtime/System/Resources

Modified Files:
        ResourceReader.cs 
Log Message:


eCMA compat fixes.


Index: ResourceReader.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Resources/ResourceReader.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ResourceReader.cs   22 Aug 2003 07:13:50 -0000      1.6
--- ResourceReader.cs   1 Sep 2003 04:17:28 -0000       1.7
***************
*** 344,347 ****
--- 344,349 ----
                        }
  
+ #if CONFIG_EXTENDED_NUMERICS
+ 
        // Read floating-point values.
        private static float ReadSingle(Stream stream)
***************
*** 396,399 ****
--- 398,403 ----
                        }
  
+ #endif // CONFIG_EXTENDED_NUMERICS
+ 
        // Read an object value of a particular type.
        private static Object ReadObject(Stream stream, Type type)
***************
*** 443,446 ****
--- 447,451 ----
                                        return (ulong)(temp | 
(((long)ReadInt(stream)) << 32));
                                }
+                       #if CONFIG_EXTENDED_NUMERICS
                                else if(type == typeof(Single))
                                {
***************
*** 460,463 ****
--- 465,469 ----
                                        return new Decimal(bits);
                                }
+                       #endif
                                else if(type == typeof(DateTime))
                                {





reply via email to

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