Author: benm
Date: 2005-04-30 12:17:42 -0400 (Sat, 30 Apr 2005)
New Revision: 43828

Modified:
   trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog
   trunk/mcs/class/Mono.Posix/Mono.Unix/Stdlib.cs
Log:
2005-04-30  Ben Maurer  <[EMAIL PROTECTED]>

        * Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It
        isn't supported in the runtime -- it throws an assert -- so better
        not to use it at all for now.



Modified: trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog      2005-04-30 16:02:32 UTC 
(rev 43827)
+++ trunk/mcs/class/Mono.Posix/Mono.Unix/ChangeLog      2005-04-30 16:17:42 UTC 
(rev 43828)
@@ -1,3 +1,9 @@
+2005-04-30  Ben Maurer  <[EMAIL PROTECTED]>
+
+       * Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It
+       isn't supported in the runtime -- it throws an assert -- so better
+       not to use it at all for now.
+
 2005-04-29  Jonathan Pryor <[EMAIL PROTECTED]>
 
        * UnixConvert.cs: Fix time_t -> DateTime conversions.  time_t should be

Modified: trunk/mcs/class/Mono.Posix/Mono.Unix/Stdlib.cs
===================================================================
--- trunk/mcs/class/Mono.Posix/Mono.Unix/Stdlib.cs      2005-04-30 16:02:32 UTC 
(rev 43827)
+++ trunk/mcs/class/Mono.Posix/Mono.Unix/Stdlib.cs      2005-04-30 16:17:42 UTC 
(rev 43828)
@@ -253,7 +253,12 @@
                }
        }
 
-#if NET_2_0
+
+       //
+       // Right now using this attribute gives an assert because it
+       // isn't implemented.
+       //
+#if NET_2_0 && UNMANAGED_FN_PTR_SUPPORT_FIXED
        [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
 #endif
        public delegate void SignalHandler (int signal);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to