Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / ngmx / x11.h
index 68b5bce1bd28e216f804fe0f7109dfe29e4a88b1..66901b66d7051629bc8ac4935a14bf9f35d34b09 100644 (file)
@@ -67,7 +67,7 @@ typedef struct t_x11 {
   void        (*GetNamedColor)(struct t_x11 *x11,const char *name,unsigned long *col);
   void        (*MainLoop)(struct t_x11 *x11);
   void        (*RegisterCallback)(struct t_x11 *x11,Window w,Window Parent,
-                                 bool cb CBARGS, void *data);
+                                 gmx_bool cb CBARGS, void *data);
   void        (*UnRegisterCallback)(struct t_x11 *x11, Window w);
   void        (*SetInputMask)(struct t_x11 *x11, Window w, unsigned long mask);
   unsigned long       (*GetInputMask)(struct t_x11 *x11, Window w);
@@ -75,7 +75,7 @@ typedef struct t_x11 {
   void        (*Flush)(struct t_x11 *x11);
 } t_x11;
 
-typedef bool CallBack CBARGS;
+typedef gmx_bool CallBack CBARGS;
 
 typedef struct t_wlist {
   Window         w;            /* The window itself                    */