X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/23e9dd1f26f1f7c1bfc672d2ce92f274aa6a00f8..3865b6c68277ccf95aaac822c3e0cde1447d8801:/include/smpi/smpif.h.in diff --git a/include/smpi/smpif.h.in b/include/smpi/smpif.h.in index 3e8ddf7b73..c407af8346 100644 --- a/include/smpi/smpif.h.in +++ b/include/smpi/smpif.h.in @@ -7,16 +7,16 @@ #ifndef SMPIF_H #define SMPIF_H -#cmakedefine HAVE_F2C_H @HAVE_SMPI_F2C_H@ +#cmakedefine SMPI_F2C @SMPI_F2C@ -#ifndef HAVE_F2C_H -#error F2C is mandatory -#endif +#ifdef SMPI_F2C #include #include #include +XBT_PUBLIC_DATA(__thread int) smpi_current_rank; + XBT_PUBLIC(int) smpi_process_argc(void); XBT_PUBLIC(int) smpi_process_getarg(integer* index, char* dst, ftnlen len); XBT_PUBLIC(int) smpi_global_size(void); @@ -43,3 +43,5 @@ XBT_PUBLIC(int) smpi_global_size(void); #endif + +#endif // SMPI_F2C