summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-01 18:26:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:42 -0500
commitab9fb12e0b52cad4db0efd5436a5fc11b6c2e18c (patch)
treeeac72a334b2cb560560a25292b24455cd9656c51 /source4/include
parent25853252e52e12d3424ee4bb6fe684708e4ac203 (diff)
downloadsamba-ab9fb12e0b52cad4db0efd5436a5fc11b6c2e18c.tar.gz
samba-ab9fb12e0b52cad4db0efd5436a5fc11b6c2e18c.tar.bz2
samba-ab9fb12e0b52cad4db0efd5436a5fc11b6c2e18c.zip
r14851: Make BOOL, False and True simple aliases to the POSIX-defined
bool, false and true (guaranteed to be defined by lib/replace) (This used to be commit 53fa1bdb6e0ea134c4d688e7cf3237fd25c2cc76)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/include/core.h b/source4/include/core.h
index 6ca276bf0e..f334c3df42 100644
--- a/source4/include/core.h
+++ b/source4/include/core.h
@@ -26,10 +26,10 @@
#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 {