From e12c0353503aa10aac9eb085011339402f30aaeb Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 17 Mar 2003 11:41:02 -0500 Subject: [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 --- c++/test/dsets.cpp | 5 +++++ c++/test/testhdf5.cpp | 6 ++++++ c++/test/tfile.cpp | 5 +++++ c++/test/th5s.cpp | 5 +++++ 4 files changed, 21 insertions(+) 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 +#else #include +#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 +#else #include +#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 +#else #include +#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 +#else #include +#endif + #include "H5Cpp.h" #include "testhdf5.h" -- cgit v0.12