From: Zoltan Varga Date: Mon, 26 Jun 2006 19:52:11 +0000 (+0000) Subject: 2006-06-26 Zoltan Varga X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=108a7e0a33d6713ad42a930e8e30aad83d31117f;p=gc 2006-06-26 Zoltan Varga * solaris_threads.c: And another one. svn path=/trunk/mono/; revision=62064 --- diff --git a/ChangeLog b/ChangeLog index deca0cd9..10a9354e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-06-26 Zoltan Varga + * solaris_threads.c: And another one. + * solaris_pthreads.c: Avoid another solaris/x86 #error. 2006-04-08 Zoltan Varga diff --git a/solaris_threads.c b/solaris_threads.c index 5c49c120..e6e0ea25 100644 --- a/solaris_threads.c +++ b/solaris_threads.c @@ -19,6 +19,13 @@ # include "private/gc_priv.h" # if defined(GC_SOLARIS_THREADS) || defined(GC_SOLARIS_PTHREADS) + +/* Avoid #error"Cannot use procfs in the large file compilation environment" */ +#if defined(_ILP32) && (_FILE_OFFSET_BITS != 32) +#undef _FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 32 +#endif + # include "private/solaris_threads.h" # include # include