r14851: Make BOOL, False and True simple aliases to the POSIX-defined
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Apr 2006 18:26:30 +0000 (18:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:59:42 +0000 (13:59 -0500)
bool, false and true (guaranteed to be defined by lib/replace)
(This used to be commit 53fa1bdb6e0ea134c4d688e7cf3237fd25c2cc76)

source4/include/core.h

index 6ca276bf0ec8d59bd5389a677a6dea5c0ff4dead..f334c3df42f39090707e220944dbae699db95076 100644 (file)
 
 #include "libcli/util/nt_status.h"
 
-typedef int BOOL;
+typedef bool BOOL;
 
-#define False (0)
-#define True (1)
+#define False false
+#define True true
 
 /* used to hold an arbitrary blob of data */
 typedef struct datablob {