summaryrefslogtreecommitdiffstats
path: root/testpar/t_mpi.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-12 20:04:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-17 16:58:02 (GMT)
commitd586a457b2c3d0377b8752a6ce9b621a5994f56e (patch)
treeda249709b453f6e6ee278fc1c69178b473012075 /testpar/t_mpi.c
parent7a9c852c2c1be7fd0b7c3a97b3e7f81227b35b43 (diff)
downloadhdf5-d586a457b2c3d0377b8752a6ce9b621a5994f56e.zip
hdf5-d586a457b2c3d0377b8752a6ce9b621a5994f56e.tar.gz
hdf5-d586a457b2c3d0377b8752a6ce9b621a5994f56e.tar.bz2
HDFFV-10845 C_FLAGS need set correctly for win32 vs mingw
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r--testpar/t_mpi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c
index 41acf7a..94ecbfa 100644
--- a/testpar/t_mpi.c
+++ b/testpar/t_mpi.c
@@ -460,11 +460,11 @@ static int test_mpio_1wMr(char *filename, int special_request) {
/* show the hostname so that we can tell where the processes are running */
if (VERBOSE_DEF) {
#ifdef H5_HAVE_GETHOSTNAME
- if(HDgethostname(hostname, sizeof(hostname)) < 0) {
- printf("gethostname failed\n");
- hostname[0] = '\0';
- }
- #else
+ if(HDgethostname(hostname, sizeof(hostname)) < 0) {
+ printf("gethostname failed\n");
+ hostname[0] = '\0';
+ }
+#else
printf("gethostname unavailable\n");
hostname[0] = '\0';
#endif