#ifndef PyMPI_CONFIG_OPENMPI_H
#define PyMPI_CONFIG_OPENMPI_H

#if MPI_VERSION==2 && MPI_SUBVERSION<2
#define PyMPI_MISSING_MPI_AINT 1
#define PyMPI_MISSING_MPI_OFFSET 1
#define PyMPI_MISSING_MPI_C_BOOL 1
#define PyMPI_MISSING_MPI_INT8_T 1
#define PyMPI_MISSING_MPI_INT16_T 1
#define PyMPI_MISSING_MPI_INT32_T 1
#define PyMPI_MISSING_MPI_INT64_T 1
#define PyMPI_MISSING_MPI_UINT8_T 1
#define PyMPI_MISSING_MPI_UINT16_T 1
#define PyMPI_MISSING_MPI_UINT32_T 1
#define PyMPI_MISSING_MPI_UINT64_T 1
#define PyMPI_MISSING_MPI_C_COMPLEX 1
#define PyMPI_MISSING_MPI_C_FLOAT_COMPLEX 1
#define PyMPI_MISSING_MPI_C_DOUBLE_COMPLEX 1
#define PyMPI_MISSING_MPI_C_LONG_DOUBLE_COMPLEX 1
#endif

#ifndef OMPI_HAVE_FORTRAN_LOGICAL1
#define OMPI_HAVE_FORTRAN_LOGICAL1 0
#endif
#ifndef OMPI_HAVE_FORTRAN_LOGICAL2
#define OMPI_HAVE_FORTRAN_LOGICAL2 0
#endif
#ifndef OMPI_HAVE_FORTRAN_LOGICAL4
#define OMPI_HAVE_FORTRAN_LOGICAL4 0
#endif
#ifndef OMPI_HAVE_FORTRAN_LOGICAL8
#define OMPI_HAVE_FORTRAN_LOGICAL8 0
#endif

#if !OMPI_HAVE_FORTRAN_LOGICAL1
#define PyMPI_MISSING_MPI_LOGICAL1 1
#endif
#if !OMPI_HAVE_FORTRAN_LOGICAL2
#define PyMPI_MISSING_MPI_LOGICAL2 1
#endif
#if !OMPI_HAVE_FORTRAN_LOGICAL4
#define PyMPI_MISSING_MPI_LOGICAL4 1
#endif
#if !OMPI_HAVE_FORTRAN_LOGICAL8
#define PyMPI_MISSING_MPI_LOGICAL8 1
#endif
#if !OMPI_HAVE_FORTRAN_INTEGER1
#define PyMPI_MISSING_MPI_INTEGER1 1
#endif
#if !OMPI_HAVE_FORTRAN_INTEGER2
#define PyMPI_MISSING_MPI_INTEGER2 1
#endif
#if !OMPI_HAVE_FORTRAN_INTEGER4
#define PyMPI_MISSING_MPI_INTEGER4 1
#endif
#if !OMPI_HAVE_FORTRAN_INTEGER8
#define PyMPI_MISSING_MPI_INTEGER8 1
#endif
#if !OMPI_HAVE_FORTRAN_INTEGER16
#define PyMPI_MISSING_MPI_INTEGER16 1
#endif
#if !OMPI_HAVE_FORTRAN_REAL2
#define PyMPI_MISSING_MPI_REAL2 1
#define PyMPI_MISSING_MPI_COMPLEX4 1
#endif
#if !OMPI_HAVE_FORTRAN_REAL4
#define PyMPI_MISSING_MPI_REAL4 1
#define PyMPI_MISSING_MPI_COMPLEX8 1
#endif
#if !OMPI_HAVE_FORTRAN_REAL8
#define PyMPI_MISSING_MPI_REAL8 1
#define PyMPI_MISSING_MPI_COMPLEX16 1
#endif
#if !OMPI_HAVE_FORTRAN_REAL16
#define PyMPI_MISSING_MPI_REAL16 1
#define PyMPI_MISSING_MPI_COMPLEX32 1
#endif

#if MPI_VERSION==2 && MPI_SUBVERSION<2
#define PyMPI_MISSING_MPI_Op_commutative 1
#define PyMPI_MISSING_MPI_Reduce_local 1
#define PyMPI_MISSING_MPI_Reduce_scatter_block 1
#endif

#if MPI_VERSION==2 && MPI_SUBVERSION<2
#define PyMPI_MISSING_MPI_DIST_GRAPH 1
#define PyMPI_MISSING_MPI_UNWEIGHTED 1
#define PyMPI_MISSING_MPI_Dist_graph_create_adjacent 1
#define PyMPI_MISSING_MPI_Dist_graph_create 1
#define PyMPI_MISSING_MPI_Dist_graph_neighbors_count 1
#define PyMPI_MISSING_MPI_Dist_graph_neighbors 1
#endif

#if MPI_VERSION==2 && MPI_SUBVERSION<2
#define PyMPI_MISSING_MPI_Comm_errhandler_function 1
#define PyMPI_MISSING_MPI_Win_errhandler_function 1
#define PyMPI_MISSING_MPI_File_errhandler_function 1
#endif

#endif /* !PyMPI_CONFIG_OPENMPI_H */
