summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDmpio.h')
-rw-r--r--src/H5FDmpio.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/H5FDmpio.h b/src/H5FDmpio.h
index c5133f3..f1dd6f7 100644
--- a/src/H5FDmpio.h
+++ b/src/H5FDmpio.h
@@ -34,8 +34,12 @@ typedef struct H5FD_mpio_dxpl_t {
H5FD_mpio_xfer_t xfer_mode; /*collective or independent I/O */
} H5FD_mpio_dxpl_t;
-#ifdef H5_HAVE_PARALLEL
/* Macros */
+
+#define IS_H5FD_MPIO(f) /* (H5F_t *f) */ \
+ (H5FD_MPIO==H5F_get_driver_id(f))
+
+#ifdef H5_HAVE_PARALLEL
/*Turn on H5FDmpio_debug if H5F_DEBUG is on */
#ifdef H5F_DEBUG
#ifndef H5FDmpio_DEBUG
@@ -43,9 +47,6 @@ typedef struct H5FD_mpio_dxpl_t {
#endif
#endif
-#define IS_H5FD_MPIO(f) /* (H5F_t *f) */ \
- (H5FD_MPIO==H5F_get_driver_id(f))
-
/* Function prototypes */
#ifdef __cplusplus
extern "C" {