summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
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