git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2585325
)
r14851: Make BOOL, False and True simple aliases to the POSIX-defined
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 1 Apr 2006 18:26:30 +0000
(18:26 +0000)
committer
Gerald (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
patch
|
blob
|
history
diff --git
a/source4/include/core.h
b/source4/include/core.h
index 6ca276bf0ec8d59bd5389a677a6dea5c0ff4dead..f334c3df42f39090707e220944dbae699db95076 100644
(file)
--- 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 {