summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2005-09-13 03:20:41 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2005-09-13 03:20:41 (GMT)
commit8d2783a2e099dc596dd9e798507e4cf69ce3b09e (patch)
tree5ab7d02d953ea830b4764d473797a9f3ffd4853c /test/h5test.c
parentb379a469c0978b454d0ab7e9de87b94b69706520 (diff)
downloadhdf5-8d2783a2e099dc596dd9e798507e4cf69ce3b09e.zip
hdf5-8d2783a2e099dc596dd9e798507e4cf69ce3b09e.tar.gz
hdf5-8d2783a2e099dc596dd9e798507e4cf69ce3b09e.tar.bz2
[svn-r11403] Purpose: Maintenance
Description: Brought back changes from SX-6. Solution: Tests will not compile. Fixed. Platforms tested: SX-6, heping and mir with new g95 Misc. update:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c
index c9a788d..c582442 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -619,7 +619,7 @@ h5_show_hostname(void)
}
#endif
-
+#ifdef H5_HAVE_GETHOSTNAME
if (gethostname(hostname, 80) < 0){
printf(" gethostname failed\n");
}
@@ -628,6 +628,7 @@ h5_show_hostname(void)
#ifdef WIN32
WSACleanup();
#endif
+#endif
}