From: Matthias Maier Date: Fri, 28 Sep 2012 16:14:46 +0000 (+0000) Subject: Bugfix X-Git-Tag: v8.0.0~1079^2~577 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=346e02a0bac2aaca4c60c9cf0fbbd9af983880d7;p=dealii.git Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@26853 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/modules/FindBLACS.cmake b/deal.II/cmake/modules/FindBLACS.cmake new file mode 100644 index 0000000000..08aec84f7b --- /dev/null +++ b/deal.II/cmake/modules/FindBLACS.cmake @@ -0,0 +1,8 @@ +# +# Try to find the BLACS library +# +# This module exports +# + +INCLUDE(FindPackageHandleStandardArgs) + diff --git a/deal.II/source/base/thread_management.cc b/deal.II/source/base/thread_management.cc index babab8defc..09d1c11292 100644 --- a/deal.II/source/base/thread_management.cc +++ b/deal.II/source/base/thread_management.cc @@ -148,9 +148,9 @@ namespace Threads unsigned int this_thread_id () { -#if HAVE_GETPID +#ifdef HAVE_GETPID const pid_t this_id = getpid(); -#elif SYS_gettid +#elif defined(SYS_gettid) const int this_id = syscall(SYS_gettid); #else # ifdef DEAL_II_MSVC