]> granicus.if.org Git - gc/commitdiff
2006-04-08 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Sat, 24 Jun 2006 13:33:46 +0000 (13:33 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:28:02 +0000 (15:28 +0400)
        * dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.

svn path=/trunk/mono/; revision=62007

ChangeLog
dyn_load.c

index 7c68d6632dc26983606deb6486e98029d08f95cd..012a1a61d52573528b7430a37e775a50be445b47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index 62d3815b0e2819975cb76e811cc1f754ca08007f..a6e33163dfdf2cb9bf09fcf1d7067d199949ba8b 100644 (file)
 
 #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>