summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c++/test/dsets.cpp5
-rw-r--r--c++/test/testhdf5.cpp6
-rw-r--r--c++/test/tfile.cpp5
-rw-r--r--c++/test/th5s.cpp5
4 files changed, 21 insertions, 0 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp
index b4a9365..4fea36c 100644
--- a/c++/test/dsets.cpp
+++ b/c++/test/dsets.cpp
@@ -26,7 +26,12 @@
***************************************************************************/
+#ifdef OLD_HEADER_FILENAME
+#include <iostream.h>
+#else
#include <iostream>
+#endif
+
#include "H5Cpp.h"
#include "h5test.h"
#include "testhdf5.h"
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp
index 8246c05..630a0e4 100644
--- a/c++/test/testhdf5.cpp
+++ b/c++/test/testhdf5.cpp
@@ -53,7 +53,13 @@ int Verbosity;
// Use C version of the header file testhdf5.h instead of re-coding it
#include "testhdf5.h"
+
+#ifdef OLD_HEADER_FILENAME
+#include <iostream.h>
+#else
#include <iostream>
+#endif
+
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp
index fa7cf5a..41c7f0b 100644
--- a/c++/test/tfile.cpp
+++ b/c++/test/tfile.cpp
@@ -25,7 +25,12 @@
***************************************************************************/
+#ifdef OLD_HEADER_FILENAME
+#include <iostream.h>
+#else
#include <iostream>
+#endif
+
#include "H5Cpp.h"
#include "testhdf5.h"
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp
index 7d4bc3f..443b310 100644
--- a/c++/test/th5s.cpp
+++ b/c++/test/th5s.cpp
@@ -21,7 +21,12 @@
***************************************************************************/
+#ifdef OLD_HEADER_FILENAME
+#include <iostream.h>
+#else
#include <iostream>
+#endif
+
#include "H5Cpp.h"
#include "testhdf5.h"