X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fsolaris_pthreads.c;h=b1c70feebc594fbec0cb979f52ccf402e4d9f64d;hb=fe6e1fdb81f4b999ca23bbd51133fc1475479569;hp=08c45e7c405b080f0f934041bc6236f2f3ff7aaa;hpb=b39d5edf62fb3908e10647e1a7e60dadeb88b2be;p=mono.git diff --git a/libgc/solaris_pthreads.c b/libgc/solaris_pthreads.c index 08c45e7c405..b1c70feebc5 100644 --- a/libgc/solaris_pthreads.c +++ b/libgc/solaris_pthreads.c @@ -19,6 +19,13 @@ # include "private/gc_priv.h" # if 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 # include # include