diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-28 15:14:09 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-28 15:14:09 (GMT) |
commit | 772813a13c8c358bf12a8f9105ed7d0466c65cc7 (patch) | |
tree | 0e4b70b6dd84faf212f38b46f6d3ea5c845df670 /test | |
parent | 6b9c40e5c84624394449627b8108aa5db8ee4cd0 (diff) | |
download | hdf5-772813a13c8c358bf12a8f9105ed7d0466c65cc7.zip hdf5-772813a13c8c358bf12a8f9105ed7d0466c65cc7.tar.gz hdf5-772813a13c8c358bf12a8f9105ed7d0466c65cc7.tar.bz2 |
fix get gethostname for windows
Diffstat (limited to 'test')
-rw-r--r-- | test/h5test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c index a6ec34d..c2e78e4 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -1065,7 +1065,7 @@ h5_show_hostname(void) #endif #ifdef H5_HAVE_GETHOSTNAME - if (gethostname(hostname, (size_t)80) < 0) + if (HDgethostname(hostname, (size_t)80) < 0) HDprintf(" gethostname failed\n"); else HDprintf(" hostname=%s\n", hostname); |