Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update dtd
[simgrid.git] / include / smpi / smpif.h.in
index bbcb661ac1d5c9dd37f144718ba7279fe7eb0909..c407af834686d53f494528d4aab4035a74beaf22 100644 (file)
@@ -7,11 +7,9 @@
 #ifndef SMPIF_H
 #define SMPIF_H
 
 #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 <xbt/misc.h>
 #include <smpi/smpi.h>
 
 #include <xbt/misc.h>
 #include <smpi/smpi.h>
@@ -45,3 +43,5 @@ XBT_PUBLIC(int) smpi_global_size(void);
 
 
 #endif
 
 
 #endif
+
+#endif // SMPI_F2C