Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / gmxlib / thread_mpi / type.c
index 64c260832f43f5b09842e1565127499284063b9f..121f6bcb6a8c7c25ac97eb2c988ec14d29dc7d15 100644 (file)
@@ -275,7 +275,7 @@ int tMPI_Type_commit(tMPI_Datatype *datatype)
         struct tmpi_datatype_ *lt=tmpi_global->usertypes[i];
         if (lt->committed && lt->N_comp==dt->N_comp)
         {
-            bool found=TRUE;
+            gmx_bool found=TRUE;
             for(j=0;j<lt->N_comp;j++)
             {
                 if ( (lt->comps[j].type  != dt->comps[j].type) ||
@@ -293,7 +293,7 @@ int tMPI_Type_commit(tMPI_Datatype *datatype)
     }
     if (dt != *datatype)
     {
-        bool found=FALSE;
+        gmx_bool found=FALSE;
         /* we remove the old one from the list */
         for(i=0;i<tmpi_global->N_usertypes;i++)
         {