summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5S.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5S.c b/src/H5S.c
index a30f422..b8878cd 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -78,6 +78,7 @@ H5S_init_interface(void)
"unable to register one or more conversion functions");
}
+#ifdef HAVE_PARALLEL
{
/* Allow MPI buf-and-file-type optimizations? */
const char *s = getenv ("HDF5_MPI_OPT_TYPES");
@@ -85,6 +86,7 @@ H5S_init_interface(void)
H5_mpi_opt_types_g = (int)HDstrtol (s, NULL, 0);
}
}
+#endif
FUNC_LEAVE(ret_value);
}