]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Indent prepro statements
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Feb 2003 23:17:00 +0000 (23:17 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Feb 2003 23:17:00 +0000 (23:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@7043 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/multithread_info.cc

index 5236d58d7931d6533d30ca4812376138c2528ec2..37550c2ba3c60163d6bc2fb676bb1b2b931c50cf 100644 (file)
@@ -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()
 {

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.