Author: zoltan
Date: 2005-04-05 09:20:01 -0400 (Tue, 05 Apr 2005)
New Revision: 42562
Modified:
trunk/mono/mono/dis/ChangeLog
trunk/mono/mono/dis/dis-cil.c
trunk/mono/mono/dis/dump.c
Log:
2005-04-05 Zoltan Varga <[EMAIL PROTECTED]>
* dump.c dis-cil.c: Apply patches from freebsd ports collection.
Modified: trunk/mono/mono/dis/ChangeLog
===================================================================
--- trunk/mono/mono/dis/ChangeLog 2005-04-05 13:13:47 UTC (rev 42561)
+++ trunk/mono/mono/dis/ChangeLog 2005-04-05 13:20:01 UTC (rev 42562)
@@ -1,3 +1,7 @@
+2005-04-05 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * dump.c dis-cil.c: Apply patches from freebsd ports collection.
+
2005-04-04 Zoltan Varga <[EMAIL PROTECTED]>
* get.c (get_constant): Applied patch from Ankit Jain ([EMAIL
PROTECTED]). Fixes #74367.
Modified: trunk/mono/mono/dis/dis-cil.c
===================================================================
--- trunk/mono/mono/dis/dis-cil.c 2005-04-05 13:13:47 UTC (rev 42561)
+++ trunk/mono/mono/dis/dis-cil.c 2005-04-05 13:20:01 UTC (rev 42562)
@@ -20,6 +20,8 @@
#include "mono/metadata/opcodes.h"
#include "mono/utils/mono-compiler.h"
+#ifndef HAVE_ISINF
+
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
int isinf (double);
@@ -38,10 +40,11 @@
return 0;
}
#else
-#ifndef HAVE_ISINF
#error "Don't know how to implement isinf for this platform."
#endif
+
#endif
+
/*
* Strings on the US heap are encoded using UTF-16. Poor man's
* UTF-16 to UTF-8. I know its broken, use libunicode later.
Modified: trunk/mono/mono/dis/dump.c
===================================================================
--- trunk/mono/mono/dis/dump.c 2005-04-05 13:13:47 UTC (rev 42561)
+++ trunk/mono/mono/dis/dump.c 2005-04-05 13:20:01 UTC (rev 42562)
@@ -19,10 +19,14 @@
#include "mono/metadata/class.h"
#include "mono/utils/mono-compiler.h"
+#ifndef HAVE_ISINF
+
#ifdef HAVE_IEEEFP_H
extern int isinf (double);
#endif
+#endif
+
void
dump_table_assembly (MonoImage *m)
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches