diff options
Diffstat (limited to 'c++/test/tattr.cpp')
-rw-r--r-- | c++/test/tattr.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp index 616c73a..34bb6d1 100644 --- a/c++/test/tattr.cpp +++ b/c++/test/tattr.cpp @@ -19,13 +19,18 @@ ***************************************************************************/ -#include <string> - #ifdef OLD_HEADER_FILENAME #include <iostream.h> #else #include <iostream> #endif +#include <string> + +#ifndef H5_NO_NAMESPACE +#ifndef H5_NO_STD + using std::string; +#endif // H5_NO_STD +#endif #include "testhdf5.h" // C test header file #include "H5Cpp.h" // C++ API header file |