Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] tiny cleanup around smpi
[simgrid.git] / include / smpi / mpif.h.in
index 84adf93..8467db5 100644 (file)
       parameter(MPI_BXOR=11)
       
       INTEGER MPI_ADDRESS_KIND, MPI_OFFSET_KIND
-      PARAMETER (MPI_ADDRESS_KIND=@MPI_ADDRESS_SIZE@)
-      PARAMETER (MPI_OFFSET_KIND=@MPI_ADDRESS_SIZE@)
+      PARAMETER (MPI_ADDRESS_KIND=@CMAKE_SIZEOF_VOID_P@)
+      PARAMETER (MPI_OFFSET_KIND=@CMAKE_SIZEOF_VOID_P@)
 
       integer MPI_COMBINER_NAMED, MPI_COMBINER_DUP
       integer MPI_COMBINER_CONTIGUOUS, MPI_COMBINER_VECTOR