diff options
author | Zoltan Varga <vargaz@gmail.com> | 2006-06-26 23:52:11 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2006-06-26 23:52:11 +0400 |
commit | 9fc7acd7a0018c4def1e35123844e51ff886950d (patch) | |
tree | b2bc2f75bd0fc3dad7400a6bfadf93b7d4b3cf1b /libgc | |
parent | 53e165c0e097a2176f95f4244609a7c64087be20 (diff) |
2006-06-26 Zoltan Varga <vargaz@gmail.com>
* solaris_threads.c: And another one.
svn path=/trunk/mono/; revision=62064
Diffstat (limited to 'libgc')
-rw-r--r-- | libgc/ChangeLog | 2 | ||||
-rw-r--r-- | libgc/solaris_threads.c | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libgc/ChangeLog b/libgc/ChangeLog index 11526249f16..86c924c4e2c 100644 --- a/libgc/ChangeLog +++ b/libgc/ChangeLog @@ -1,5 +1,7 @@ 2006-06-26 Zoltan Varga <vargaz@gmail.com> + * solaris_threads.c: And another one. + * solaris_pthreads.c: Avoid another solaris/x86 #error. 2006-04-08 Zoltan Varga <vargaz@gmail.com> diff --git a/libgc/solaris_threads.c b/libgc/solaris_threads.c index 5c49c1206b8..e6e0ea259c1 100644 --- a/libgc/solaris_threads.c +++ b/libgc/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 <thread.h> # include <synch.h> |