Rev 1690: make sure bool is a char. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Sun Aug 31 19:57:53 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1690
revision-id: jelmer at samba.org-20080831185749-62h5j0e8b8hxedum
parent: jelmer at samba.org-20080831183105-6frofg6ba1tq0uo8
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sun 2008-08-31 20:57:49 +0200
message:
  make sure bool is a char.
modified:
  stdbool.h                      stdbool.h-20080727235015-yn3xnbkxaaluvzd0-1
=== modified file 'stdbool.h'
--- a/stdbool.h	2008-07-27 23:50:52 +0000
+++ b/stdbool.h	2008-08-31 18:57:49 +0000
@@ -1,7 +1,9 @@
 #ifndef _STDBOOL_H_
 #define _STDBOOL_H_
 
-typedef enum { false, true } bool;
+typedef char bool;
+#define true 1
+#define false 0
 
 #endif
 




More information about the bazaar-commits mailing list