From: maier Date: Sun, 7 Oct 2012 20:19:58 +0000 (+0000) Subject: Quest for platform independence: [6] fixup sparse_direct.cc X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864bdc9bd14c3af9c66e445bb77d130401cc48b7;p=dealii-svn.git Quest for platform independence: [6] fixup sparse_direct.cc This will break support for HSL_MA27 git-svn-id: https://svn.dealii.org/branches/branch_cmake@26988 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/sparse_direct.cc b/deal.II/source/lac/sparse_direct.cc index 1806635961..681d29510a 100644 --- a/deal.II/source/lac/sparse_direct.cc +++ b/deal.II/source/lac/sparse_direct.cc @@ -19,40 +19,11 @@ #include #include +#include #include #include #include -// this is a weird hack: on newer linux systems, some system headers -// include /usr/include/linux/compiler.h which explicitly checks which -// gcc is in use. in that file is also a comment that explains that -// the check for gcc version also applies to icc since icc identifies -// itself as gcc via __GNUC__; if the gcc major version is not >=2, it -// aborts. -// -// now, only icc8 and later identify themselves as gcc, so older icc -// versions fail to compile this file on such systems. to avoid this -// failure, we allow icc to identify itself as gcc if it doesn't -// already do so by itself: -#if defined(__INTEL_COMPILER) && !defined(__GNUC__) -# define __GNUC__ 3 -#endif - -#ifndef DEAL_II_MSVC -# include -# include -#ifndef DEAL_II_USE_DIRECT_ERRNO_H -# include -#else -# include -#endif -#include -#endif - -#include -#include -#include - DEAL_II_NAMESPACE_OPEN