From: Wolfgang Bangerth Date: Sun, 18 Jan 2009 23:51:34 +0000 (+0000) Subject: Only compile boost threads when threads are actually required. X-Git-Tag: v8.0.0~8110 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83b4ba827ef675f6c40a1defc1b7ac306d532e8;p=dealii.git Only compile boost threads when threads are actually required. git-svn-id: https://svn.dealii.org/trunk@18226 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/boost_threads.cc b/deal.II/base/source/boost_threads.cc index 82e6ece2ee..4dfd65b9a8 100644 --- a/deal.II/base/source/boost_threads.cc +++ b/deal.II/base/source/boost_threads.cc @@ -13,7 +13,7 @@ #include -#ifndef DEAL_II_CAN_USE_CXX0X +#if (DEAL_II_USE_MT == 1) && !defined(DEAL_II_CAN_USE_CXX0X) // of the C++ compiler doesn't completely support the C++0x standard (and // consequently we can't use std::thread, std::mutex, etc), then include all