* src/mm/gc-boehm.cpp: Define GC_SOLARIS_THREADS on Solaris.
authorStefan Ring <stefan@complang.tuwien.ac.at>
Sat, 16 Oct 2010 21:09:25 +0000 (23:09 +0200)
committerStefan Ring <stefan@complang.tuwien.ac.at>
Sat, 16 Oct 2010 21:09:25 +0000 (23:09 +0200)
* 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
src/threads/posix/thread-posix.cpp

index ca8501e639d4ebc2fd8ad079e6424785591f1968..3cc8ada0978e4b94f6c115ca2e0bb859cff9a475 100644 (file)
@@ -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:
  */
index e5aa1126bb982d7fc033f69d6b08caa22401464a..a68cede39cf91c405bd86f2180fd3f137c519e65 100644 (file)
@@ -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)