summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5.c2
-rw-r--r--src/H5FDmpi.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/H5.c b/src/H5.c
index 4e8556d..712e6c6 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -1749,7 +1749,6 @@ H5_trace (const double *returning, const char *func, const char *type, ...)
}
break;
-#ifdef H5_HAVE_PARALLEL
case 't':
if (ptr) {
if (vp) {
@@ -1772,7 +1771,6 @@ H5_trace (const double *returning, const char *func, const char *type, ...)
}
}
break;
-#endif /* H5_HAVE_PARALLEL */
default:
fprintf (out, "BADTYPE(D%c)", type[1]);
diff --git a/src/H5FDmpi.h b/src/H5FDmpi.h
index f7e0200..10d2107 100644
--- a/src/H5FDmpi.h
+++ b/src/H5FDmpi.h
@@ -21,14 +21,14 @@
#ifndef H5FDmpi_H
#define H5FDmpi_H
-#ifdef H5_HAVE_PARALLEL
-
/* Type of I/O for data transfer properties */
typedef enum H5FD_mpio_xfer_t {
H5FD_MPIO_INDEPENDENT = 0, /*zero is the default*/
H5FD_MPIO_COLLECTIVE
} H5FD_mpio_xfer_t;
+#ifdef H5_HAVE_PARALLEL
+
/* Sub-class the H5FD_class_t to add more specific functions for MPI-based VFDs */
typedef struct H5FD_class_mpi_t {
H5FD_class_t super; /* Superclass information & methods */