]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Support detection of CPUs on AIX.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 24 Jan 2003 16:09:29 +0000 (16:09 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 24 Jan 2003 16:09:29 +0000 (16:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@6958 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/multithread_info.cc

index 9161a0914ace27ef0f1f187bca9c05888a7b1173..5236d58d7931d6533d30ca4812376138c2528ec2 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,7 +19,7 @@
 #  include <string>
 #endif
 
-#if defined(__sun__) || defined(__osf__)
+#if defined(__sun__) || defined(__osf__) || defined(_AIX)
 #  include <unistd.h>
 #endif
 
@@ -56,7 +56,7 @@ unsigned int MultithreadInfo::get_n_cpus()
 }
 
 
-#elif defined(__sun__) || defined(__osf__)
+#elif defined(__sun__) || defined(__osf__) || defined(_AIX)
 
 
 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.