]> andersk Git - splint.git/blobdiff - src/Headers/bool.h
Making fixes for Microsoft Visual C++ compiler.
[splint.git] / src / Headers / bool.h
index fd059070c6cece156d3be3858eb3e2bd3d4daf81..d0e0be551ceafba39fe673bb0a1595b079b0a16c 100644 (file)
@@ -7,6 +7,17 @@
 
 # define BOOL_H
 
+# ifdef WIN32
+# ifndef FALSE
+/*@constant bool FALSE=false@*/
+# define FALSE 0
+# endif
+
+# ifndef TRUE
+/*@constant bool TRUE=true@*/
+# define TRUE (!FALSE)
+# endif
+# else
 # ifndef FALSE
 /*@constant bool FALSE=false@*/
 # define FALSE false
@@ -16,6 +27,7 @@
 /*@constant bool TRUE=true@*/
 # define TRUE true
 # endif
+# endif
 
 extern /*@observer@*/ cstring bool_unparse (bool p_b) /*@*/ ;
 extern /*@observer@*/ cstring bool_dump (bool p_b) /*@*/ ;
This page took 0.039226 seconds and 4 git commands to generate.