summaryrefslogtreecommitdiffstats
path: root/c++/examples/readdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/readdata.cpp')
-rw-r--r--c++/examples/readdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/readdata.cpp b/c++/examples/readdata.cpp
index 7facebd..0805fa5 100644
--- a/c++/examples/readdata.cpp
+++ b/c++/examples/readdata.cpp
@@ -19,7 +19,7 @@
//
#include <string>
-#ifndef H5_NO_NAMESPACE
+#if !defined(H5_NO_NAMESPACE) && !defined(H5_NO_STD)
using namespace std;
#endif