* dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.
svn path=/trunk/mono/; revision=62007
+2006-04-08 Zoltan Varga <vargaz@gmail.com>
+
+ * dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.
+
2006-05-24 Martin Baulig <martin@ximian.com>
* doc/debugger-support.txt: Removed; this issue turned out to be
#include <stdio.h>
#ifdef SUNOS5DL
+/* Avoid #error "large files are not supported by libelf" errors */
+#if defined(_ILP32) && (_FILE_OFFSET_BITS != 32)
+#undef _FILE_OFFSET_BITS
+#define _FILE_OFFSET_BITS 32
+#endif
# include <sys/elf.h>
# include <dlfcn.h>
# include <link.h>