X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/822acfadcfb2a034c9cdaf4131d233ef0f8c2235..704a4e40059072862812816366aa40b5dec2873a:/include/smpi/smpif.h.in diff --git a/include/smpi/smpif.h.in b/include/smpi/smpif.h.in index c003a43822..890712bff7 100644 --- a/include/smpi/smpif.h.in +++ b/include/smpi/smpif.h.in @@ -7,19 +7,18 @@ #ifndef SMPIF_H #define SMPIF_H -#cmakedefine HAVE_SMPI_F2C_H @HAVE_SMPI_F2C_H@ +#cmakedefine HAVE_F2C_H @HAVE_SMPI_F2C_H@ -#ifdef HAVE_SMPI_F2C_H - #undef min //Need because first def in xbt.h - #undef max //Need because first def in xbt.h - #include +#ifndef HAVE_F2C_H +#error F2C is mandatory #endif #include +#include +#include XBT_PUBLIC(int) smpi_process_argc(void); -XBT_PUBLIC(int) smpi_process_getarg(int* index, char* dst, size_t len); -XBT_PUBLIC(int) smpi_global_rank(void); +XBT_PUBLIC(int) smpi_process_getarg(integer* index, char* dst, ftnlen len); XBT_PUBLIC(int) smpi_global_size(void); #endif