diff --git a/src/Fortran/H5.c b/src/Fortran/H5.c index 68360c3..f5b80f9 100644 --- a/src/Fortran/H5.c +++ b/src/Fortran/H5.c @@ -73,6 +73,7 @@ h5_setprop_file_mpio_independent ( H5_API_RETURN ((h5_int64_t)h5_set_prop_file_mpio_independent (prop, &comm)); } +#if H5_VERSION_LE(1,8,12) #define h5_setprop_file_mpio_posix FC_MANGLING( \ h5_setprop_file_mpio_posix, \ H5_SETPROP_FILE_MPIO_POSIX) @@ -90,6 +91,8 @@ h5_setprop_file_mpio_posix ( } #endif +#endif + #define h5_setprop_file_corevfd FC_MANGLING( \ h5_setprop_file_corevfd, \ H5_SETPROP_FILE_COREVFD)