]> granicus.if.org Git - gc/commitdiff
2006-06-26 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Mon, 26 Jun 2006 18:51:20 +0000 (18:51 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:28:02 +0000 (15:28 +0400)
* solaris_pthreads.c: Avoid another solaris/x86 #error.

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

ChangeLog
solaris_pthreads.c

index 012a1a61d52573528b7430a37e775a50be445b47..deca0cd9ac9053800a440c951812d915a91feaf6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * solaris_pthreads.c: Avoid another solaris/x86 #error.
+
 2006-04-08  Zoltan Varga  <vargaz@gmail.com>
 
        * dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.
index 08c45e7c405b080f0f934041bc6236f2f3ff7aaa..b1c70feebc594fbec0cb979f52ccf402e4d9f64d 100644 (file)
 # 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 <pthread.h>
 # include <thread.h>
 # include <signal.h>