From d05f6cde5283c6cf4462b0aad655606da8be63ed Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sat, 31 Jan 2004 10:09:19 -0500 Subject: [svn-r8130] Purpose: Bug fix Description: Address the failure in the FORTRAN builds by making some more of the MPI-related typedefs in the library available outside of parallel builds. Platforms tested: Linux 2.4 (verbena) w/FORTRAN & C++ --- src/H5.c | 2 -- src/H5FDmpi.h | 4 ++-- 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 */ -- cgit v0.12