summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-19 20:56:37 (GMT)
committerGitHub <noreply@github.com>2021-08-19 20:56:37 (GMT)
commit2524b57a6f69e1a24212cba12d504748e13e9743 (patch)
tree1c60b0949fc4c42d7de13ba0c417f9ff9ff0410c /src
parentc88c0f2008a0a431ee64ae7a36ed29f927ba3e13 (diff)
downloadhdf5-2524b57a6f69e1a24212cba12d504748e13e9743.zip
hdf5-2524b57a6f69e1a24212cba12d504748e13e9743.tar.gz
hdf5-2524b57a6f69e1a24212cba12d504748e13e9743.tar.bz2
Develop windows compiler fixes (#912)
* Fix windows compiler issues Restore MS C++ Default exception handling behavior #885 Remove clang toolchain as it skips compiler checks * Add check and header gaurd for pwd.h * Revert change * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 802dd90..7b18df0 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -44,7 +44,9 @@
#include <sys/time.h>
#endif
#ifdef H5_HAVE_UNISTD_H
+#ifdef H5_HAVE_PWD_H
#include <pwd.h>
+#endif
#include <unistd.h>
#include <sys/wait.h>
#endif