From b11bf8d3fdbcb87185edee82cb927a7c9eb57c9e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 14 Jan 2009 15:07:26 +0000 Subject: [PATCH] Make compile. git-svn-id: https://svn.dealii.org/trunk@18222 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/boost_threads.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deal.II/base/source/boost_threads.cc b/deal.II/base/source/boost_threads.cc index f23e72061b..82e6ece2ee 100644 --- a/deal.II/base/source/boost_threads.cc +++ b/deal.II/base/source/boost_threads.cc @@ -20,10 +20,18 @@ // the files that form BOOST's thread implementation so that we don't have to // build BOOST itself only to get at this small part of it. it also ensures // that we use the correct compiler and flags -# define BOOST_THREAD_POSIX # define BOOST_THREAD_BUILD_LIB 1 +# define DBOOST_ALL_NO_LIB 1 # ifdef DEAL_II_USE_MT_POSIX +# define BOOST_THREAD_POSIX +# include +# include + +# ifndef UINTMAX_C +# define UINTMAX_C(x) x ## ULL +# endif + # include <../libs/thread/src/pthread/once.cpp> # include <../libs/thread/src/pthread/exceptions.cpp> # include <../libs/thread/src/pthread/thread.cpp> -- 2.39.5