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