]> andersk Git - splint.git/blobdiff - src/Headers/bool.h
Removed obsolete OS/2 test makefiles.
[splint.git] / src / Headers / bool.h
index 0d9c187e303bcbc1653d64783471f647e6920a57..0989f14d9e390b19ccdb349a820a201e55ccfd6c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
 ** See ../LICENSE for license information.
 **
 */
@@ -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.04724 seconds and 4 git commands to generate.