From 8d38a25f634e23bee02aba667c7755ac198a34d2 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 5 Feb 2003 23:17:00 +0000 Subject: [PATCH] Indent prepro statements git-svn-id: https://svn.dealii.org/trunk@7043 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/multithread_info.cc | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/deal.II/base/source/multithread_info.cc b/deal.II/base/source/multithread_info.cc index 5236d58d79..37550c2ba3 100644 --- a/deal.II/base/source/multithread_info.cc +++ b/deal.II/base/source/multithread_info.cc @@ -32,7 +32,7 @@ #if DEAL_II_USE_MT == 1 -#if defined(__linux__) +# if defined(__linux__) unsigned int MultithreadInfo::get_n_cpus() { @@ -55,9 +55,7 @@ unsigned int MultithreadInfo::get_n_cpus() return nCPU; } - -#elif defined(__sun__) || defined(__osf__) || defined(_AIX) - +# elif defined(__sun__) || defined(__osf__) || defined(_AIX) unsigned int MultithreadInfo::get_n_cpus() { @@ -65,16 +63,14 @@ unsigned int MultithreadInfo::get_n_cpus() } -#elif defined(__sgi__) - +# elif defined(__sgi__) unsigned int MultithreadInfo::get_n_cpus() { return sysconf(_SC_NPROC_ONLN); } - -#else +# else // if you get to see this warning, then this can have two reasons: either // because you fell through all of the above #if clauses and on your system @@ -85,17 +81,17 @@ unsigned int MultithreadInfo::get_n_cpus() // about the warning (although it is acknowledged that it is annoying), // otherwise you might want to consider implementing the missing feature // and submitting it back to the authors of the library. -#warning Detection of Processors not supported on this OS +# warning Detection of Processors not supported on this OS unsigned int MultithreadInfo::get_n_cpus() { return 1; } -#endif +# endif -#else // not in multithreadmode +#else // not in MT mode unsigned int MultithreadInfo::get_n_cpus() { -- 2.39.5