[svn-r5269]

Purpose:
    Maintenance
Description:
    Changed code to use H5_HAVE_MPI_MULTI_LANG_* definitions and
    H5pubconf_fortran.h include file.
Solution:
Platforms tested:
    Let's daily tests do this work. I have to leave now.
This commit is contained in:
Elena Pourmal 2002-04-25 18:06:16 -05:00
parent 68537be4ff
commit 7ab650be9f

View File

@ -1,14 +1,14 @@
#include "H5f90.h"
#include <mpi.h>
#include "H5config_fortran.h"
#include "H5pubconf_fortran.h"
/* Support for C to Fortran translation in MPI */
#ifndef HAVE_MPI_MULTI_LANG_Comm
#ifndef H5_HAVE_MPI_MULTI_LANG_Comm
#define MPI_Comm_c2f(comm) (int_f)(comm)
#define MPI_Comm_f2c(comm) (MPI_Comm)(comm)
#endif /*MPI Comm*/
#ifndef HAVE_MPI_MULTI_LANG_Info
#ifndef H5_HAVE_MPI_MULTI_LANG_Info
#define MPI_Info_c2f(info) (int_f)(info)
#define MPI_Info_f2c(info) (MPI_Info)(info)
#endif /*MPI Info*/