summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-06-23 19:16:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-06-23 19:16:31 (GMT)
commit46d917001cc78bb7250167f755c12ae6dea6854c (patch)
tree8f03c918de43ece1026803f66115b457b3573bc6 /src/H5detect.c
parenta051d43645edb74483fcc2757fa267d081f527df (diff)
downloadhdf5-46d917001cc78bb7250167f755c12ae6dea6854c.zip
hdf5-46d917001cc78bb7250167f755c12ae6dea6854c.tar.gz
hdf5-46d917001cc78bb7250167f755c12ae6dea6854c.tar.bz2
[svn-r15262] Description:
Merge revisions 15037:15130 from trunk into metadata journaling branch Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.5.2 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 1f79869..11a4d47 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -1090,15 +1090,9 @@ bit.\n";
* The FQDM of this host or the empty string.
*/
#ifdef H5_HAVE_GETHOSTNAME
-#ifdef _WIN32
-/* windows DLL cannot recognize gethostname, so turn off on windows for the time being!
- KY, 2003-1-14 */
- host_name[0] = '\0';
-#else
if (gethostname(host_name, sizeof(host_name)) < 0) {
host_name[0] = '\0';
}
-#endif
#else
host_name[0] = '\0';
#endif