]> andersk Git - splint.git/blobdiff - src/Headers/bool.h
noexpand always false.
[splint.git] / src / Headers / bool.h
index 03ba2c340b60e8fabeec5ea08a84071d40947b73..0989f14d9e390b19ccdb349a820a201e55ccfd6c 100644 (file)
@@ -7,12 +7,26 @@
 
 # define BOOL_H
 
+# if defined (WIN32) || defined (OS2) && defined (__IBMC__)
 # ifndef FALSE
+/*@constant bool FALSE=false@*/
 # define FALSE 0
 # endif
 
 # ifndef TRUE
-# define TRUE (! FALSE)
+/*@constant bool TRUE=true@*/
+# define TRUE (!FALSE)
+# endif
+# else
+# ifndef FALSE
+/*@constant bool FALSE=false@*/
+# define FALSE false
+# endif
+
+# ifndef TRUE
+/*@constant bool TRUE=true@*/
+# define TRUE true
+# endif
 # endif
 
 extern /*@observer@*/ cstring bool_unparse (bool p_b) /*@*/ ;
This page took 0.045739 seconds and 4 git commands to generate.