summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5Exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index 902a2d7..d422edb 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -82,7 +82,7 @@ class H5_DLLCPP Exception {
// Because 'string' is not instantiated at compilation time, this
// warning is displayed when building DLL; but the class is exported
// so the warning is harmless
-#if defined(WIN32)
+#if defined(_WIN32)
#pragma warning(disable: 4251)
#endif
H5std_string detail_message;