]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make compile.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 14 Jan 2009 15:07:26 +0000 (15:07 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 14 Jan 2009 15:07:26 +0000 (15:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@18222 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/boost_threads.cc

index f23e72061bc03defcfd5d6592a2b5f7e9e961e0e..82e6ece2ee4e6a472b1a6450067c039d035cd228 100644 (file)
 // 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 <cstdint>
+#    include <boost/cstdint.hpp>
+
+#    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>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.