]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use <ostream> over <iostream> when that is available.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Jan 2002 12:49:55 +0000 (12:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Jan 2002 12:49:55 +0000 (12:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@5416 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.templates.h

index df30bcc71343b09d9b0b594d8caa17e5a2892351..58830f53d746e6ab8653f87b80d6a8bbc86d9aab 100644 (file)
 #include <lac/vector.h>
 
 
-#include <iostream>
+// we only need output streams, but older compilers did not provide
+// them in a separate include file
+#ifdef HAVE_STD_OSTREAM_HEADER
+#  include <ostream>
+#else
+#  include <iostream>
+#endif
+
 #include <iomanip>
 #include <algorithm>
 #include <functional>

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.