Added a new "boolean" type to mh.h and TRUE and FALSE constants.
[mmh] / h / mh.h
diff --git a/h/mh.h b/h/mh.h
index a59b0a0..81a6021 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
 #define DMAXFOLDER     4       /* typical number of digits             */
 #define MAXFOLDER   1000       /* message increment                    */
 
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+typedef unsigned char  boolean;  /* not int so we can pack in a structure */
+
 /*
  * user context/profile structure
  */