X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2851c17a93adcd3931c937b698b65f81400c6dc3..4fb1f678c8da43cdf1bfcc6108883ef2a4cea952:/include/smpi/smpif.h.in diff --git a/include/smpi/smpif.h.in b/include/smpi/smpif.h.in index bbcb661ac1..c407af8346 100644 --- a/include/smpi/smpif.h.in +++ b/include/smpi/smpif.h.in @@ -7,11 +7,9 @@ #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 @@ -45,3 +43,5 @@ XBT_PUBLIC(int) smpi_global_size(void); #endif + +#endif // SMPI_F2C