Permalink
Browse files

2006-06-26 Zoltan Varga <vargaz@gmail.com>

	* solaris_pthreads.c: Avoid another solaris/x86 #error.

svn path=/trunk/mono/; revision=62063
  • Loading branch information...
1 parent 09ecf20 commit 53e165c0e097a2176f95f4244609a7c64087be20 @vargaz vargaz committed Jun 26, 2006
Showing with 11 additions and 0 deletions.
  1. +4 −0 libgc/ChangeLog
  2. +7 −0 libgc/solaris_pthreads.c
View
@@ -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.
@@ -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 <pthread.h>
# include <thread.h>
# include <signal.h>

0 comments on commit 53e165c

Please sign in to comment.