summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r--c++/src/H5Exception.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index 61fc261..a77400e 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -20,7 +20,9 @@
#ifndef H5_NO_NAMESPACE
namespace H5 {
-using namespace std;
+#ifndef H5_NO_STD
+ using namespace std;
+#endif // H5_NO_STD
#endif
class H5_DLLCPP Exception {