From: bangerth Date: Sun, 18 Jan 2009 23:51:34 +0000 (+0000) Subject: Only compile boost threads when threads are actually required. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40ead555d7ad38953abc99eb3ed846e8db58986;p=dealii-svn.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