From 9d9877f7595070f5a7aedba5ae43a4b96a383a25 Mon Sep 17 00:00:00 2001 From: Stefan Ring Date: Sat, 16 Oct 2010 23:09:25 +0200 Subject: [PATCH] * src/mm/gc-boehm.cpp: Define GC_SOLARIS_THREADS on Solaris. * src/threads/posix/thread-posix.cpp: Likewise. --HG-- extra : transplant_source : %D7%2B%60T%D4%97%FD%5E%EB%B6w%CB%95%80%1B%97%87%A1%5D%22 --- src/mm/gc-boehm.cpp | 6 +++++- src/threads/posix/thread-posix.cpp | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mm/gc-boehm.cpp b/src/mm/gc-boehm.cpp index ca8501e63..3cc8ada09 100644 --- a/src/mm/gc-boehm.cpp +++ b/src/mm/gc-boehm.cpp @@ -1,6 +1,6 @@ /* src/mm/gc-boehm.cpp - interface for boehm gc - Copyright (C) 1996-2005, 2006, 2007, 2008 + Copyright (C) 1996-2005, 2006, 2007, 2008, 2010 CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO This file is part of CACAO. @@ -36,6 +36,9 @@ #if defined(ENABLE_THREADS) && defined(__DARWIN__) #define GC_DARWIN_THREADS #endif +#if defined(ENABLE_THREADS) && defined(__SOLARIS__) +#define GC_SOLARIS_THREADS +#endif #include "boehm-gc/include/gc.h" #include "mm/gc.hpp" @@ -270,4 +273,5 @@ void *gc_out_of_memory(size_t bytes_requested) * c-basic-offset: 4 * tab-width: 4 * End: + * vim:noexpandtab:sw=4:ts=4: */ diff --git a/src/threads/posix/thread-posix.cpp b/src/threads/posix/thread-posix.cpp index e5aa1126b..a68cede39 100644 --- a/src/threads/posix/thread-posix.cpp +++ b/src/threads/posix/thread-posix.cpp @@ -98,6 +98,8 @@ typedef struct { # define GC_IRIX_THREADS #elif defined(__DARWIN__) # define GC_DARWIN_THREADS +#elif defined(__SOLARIS__) +# define GC_SOLARIS_THREADS #endif #if defined(ENABLE_GC_BOEHM) -- 2.25.1