From 44fae70a8440cf0912d581f5d16e06cd80db902a Mon Sep 17 00:00:00 2001 From: maier Date: Thu, 28 Feb 2013 00:56:57 +0000 Subject: [PATCH] Well a global sed was a bit too much :) git-svn-id: https://svn.dealii.org/branches/branch_cmake@28635 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/3.4.0-vs-4.0.0.html | 8 ++++---- deal.II/doc/news/6.1.0-vs-6.2.0.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deal.II/doc/news/3.4.0-vs-4.0.0.html b/deal.II/doc/news/3.4.0-vs-4.0.0.html index b208e71bf7..23fde020fa 100644 --- a/deal.II/doc/news/3.4.0-vs-4.0.0.html +++ b/deal.II/doc/news/3.4.0-vs-4.0.0.html @@ -162,18 +162,18 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
  • Changed: Previously, we just set the preprocessor variable - DEAL_II_WITH_THREADS, when --with-multithreading was + DEAL_II_USE_MT, when --with-multithreading was given as argument to ./configure. Tests in the code - therefore looked like #ifdef DEAL_II_WITH_THREADS. This has been + therefore looked like #ifdef DEAL_II_USE_MT. This has been changed so that the variable is always defined, but its value is now equal to 1 when multithreading was requested, and zero otherwise. The reason for - this is that you can now write if (DEAL_II_WITH_THREADS && ...) + this is that you can now write if (DEAL_II_USE_MT && ...) conditions, and need not interleave if-else clauses from regular code and the preprocessor, if conditions involve both the state of this preprocessor variable and the run-time state of your program. However, this change requires that all appearances of #ifdef - DEAL_II_WITH_THREADS be changed to #if DEAL_II_WITH_THREADS == + DEAL_II_USE_MT be changed to #if DEAL_II_USE_MT == 1, since the variable is now defined unconditionally.
    (WB 2002/11/14) diff --git a/deal.II/doc/news/6.1.0-vs-6.2.0.h b/deal.II/doc/news/6.1.0-vs-6.2.0.h index 844a442565..6de0c2aaa6 100644 --- a/deal.II/doc/news/6.1.0-vs-6.2.0.h +++ b/deal.II/doc/news/6.1.0-vs-6.2.0.h @@ -536,7 +536,7 @@ inconvenience this causes.

  • New: If the compiler allows to do \#include @, then - the preprocessor flag DEAL_II_WITH_MPI is now set in + the preprocessor flag DEAL_II_COMPILER_SUPPORTS_MPI is now set in base/include/base/config.h. This also fixes a problem in base/include/base/utilities.h if a compiler capable of including mpi.h was used but not PETSc. -- 2.39.5