diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-17 16:41:02 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-17 16:41:02 (GMT) |
commit | e12c0353503aa10aac9eb085011339402f30aaeb (patch) | |
tree | 9674b5adba402dfe406149811c72e79869382f8f /c++/test | |
parent | 3ca85400267bd5e3b965cf1e4e8abafae0d247ef (diff) | |
download | hdf5-e12c0353503aa10aac9eb085011339402f30aaeb.zip hdf5-e12c0353503aa10aac9eb085011339402f30aaeb.tar.gz hdf5-e12c0353503aa10aac9eb085011339402f30aaeb.tar.bz2 |
[svn-r6484] Purpose:
Bug Fix
Description:
Kelgia needs the old header file format for #includes.
Solution:
Conditionally include the old header file format if
OLD_HEADER_FILENAME is defined.
Platforms tested:
Kelgia
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/dsets.cpp | 5 | ||||
-rw-r--r-- | c++/test/testhdf5.cpp | 6 | ||||
-rw-r--r-- | c++/test/tfile.cpp | 5 | ||||
-rw-r--r-- | c++/test/th5s.cpp | 5 |
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" |