diff options
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 3 |
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 } |