From: wolf Date: Fri, 25 Jan 2002 12:41:59 +0000 (+0000) Subject: Use over if possible. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3487db7c690a272627175f445c442b6641e1f525;p=dealii-svn.git Use over if possible. git-svn-id: https://svn.dealii.org/trunk@5413 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/data_out_base.h b/deal.II/base/include/base/data_out_base.h index 772d82905f..f011e65d46 100644 --- a/deal.II/base/include/base/data_out_base.h +++ b/deal.II/base/include/base/data_out_base.h @@ -18,10 +18,18 @@ #include #include #include -#include #include #include +// we only need output streams, but older compilers did not provide +// them in a separate include file +#ifdef HAVE_STD_OSTREAM_HEADER +# include +#else +# include +#endif + + class ParameterHandler; diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 24b099fcfd..66e7115fe2 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -17,7 +17,14 @@ #include #include -#include + +// we only need output streams, but older compilers did not provide +// them in a separate include file +#ifdef HAVE_STD_OSTREAM_HEADER +# include +#else +# include +#endif #ifndef __GNUC__ diff --git a/deal.II/base/include/base/logstream.h b/deal.II/base/include/base/logstream.h index a3a29e1de2..64b4645648 100644 --- a/deal.II/base/include/base/logstream.h +++ b/deal.II/base/include/base/logstream.h @@ -19,7 +19,14 @@ #include #include -#include + +// we only need output streams, but older compilers did not provide +// them in a separate include file +#ifdef HAVE_STD_OSTREAM_HEADER +# include +#else +# include +#endif /** diff --git a/deal.II/base/include/base/parameter_handler.h b/deal.II/base/include/base/parameter_handler.h index 49bb137d2b..fc255262e7 100644 --- a/deal.II/base/include/base/parameter_handler.h +++ b/deal.II/base/include/base/parameter_handler.h @@ -15,10 +15,11 @@ #include +#include + #include #include #include -#include // public classes; to be declared below diff --git a/deal.II/base/include/base/table_handler.h b/deal.II/base/include/base/table_handler.h index 3be34c2c48..9ef7e58670 100644 --- a/deal.II/base/include/base/table_handler.h +++ b/deal.II/base/include/base/table_handler.h @@ -20,10 +20,17 @@ #include #include #include -#include - #include +// we only need output streams, but older compilers did not provide +// them in a separate include file +#ifdef HAVE_STD_OSTREAM_HEADER +# include +#else +# include +#endif + + /** * Abstract base class for the @p{TableEntry} class. See there.