Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / gmxlib / gmxfio_int.h
index 0b8415414006ea2a6f6694e18184ea2e357e9563..1ee685125e56143c21696e172f22950d10c669d7 100644 (file)
@@ -58,9 +58,9 @@
 
 
 /* the reader/writer functions  for t_iotype */
-typedef bool read_func(t_fileio *fio, void *item, int nitem, int eio,
+typedef gmx_bool read_func(t_fileio *fio, void *item, int nitem, int eio,
                        const char *desc,const char *srcfile,int line);
-typedef bool write_func(t_fileio *fio, const void *item, int nitem, int eio,
+typedef gmx_bool write_func(t_fileio *fio, const void *item, int nitem, int eio,
                         const char *desc,const char *srcfile,int line);
 
 
@@ -77,7 +77,7 @@ struct t_fileio
 {
     FILE *fp; /* the file pointer */
     const t_iotype *iotp;  /* file type */
-    bool bOpen,  /* the file is open */
+    gmx_bool bOpen,  /* the file is open */
          bRead,  /* the file is open for reading */
          bDouble, /* write doubles instead of floats */
          bDebug, /* the file ops should come with debug info */