diff options
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/scheme/primitive.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sca-cpp/trunk/modules/scheme/primitive.hpp b/sca-cpp/trunk/modules/scheme/primitive.hpp index 899d6f83da..59aee12073 100644 --- a/sca-cpp/trunk/modules/scheme/primitive.hpp +++ b/sca-cpp/trunk/modules/scheme/primitive.hpp @@ -30,6 +30,7 @@ #include "function.hpp" #include "list.hpp" #include "value.hpp" +#include "parallel.hpp" namespace tuscany { namespace scheme { @@ -39,14 +40,16 @@ const value quoteSymbol("'"); const value lambdaSymbol("lambda"); #ifdef WANT_THREADS -__thread -#endif +perthread_ptr<ostream> displayOutStream; +#else ostream* displayOutStream = NULL; +#endif #ifdef WANT_THREADS -__thread -#endif +perthread_ptr<ostream> logOutStream; +#else ostream* logOutStream = NULL; +#endif const bool setupDisplay(ostream& out) { displayOutStream = &out; |