svn commit: samba r14851 - in branches/SAMBA_4_0/source/include: .

jelmer at samba.org jelmer at samba.org
Sat Apr 1 18:26:31 GMT 2006


Author: jelmer
Date: 2006-04-01 18:26:30 +0000 (Sat, 01 Apr 2006)
New Revision: 14851

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14851

Log:
Make BOOL, False and True simple aliases to the POSIX-defined 
bool, false and true (guaranteed to be defined by lib/replace)

Modified:
   branches/SAMBA_4_0/source/include/core.h


Changeset:
Modified: branches/SAMBA_4_0/source/include/core.h
===================================================================
--- branches/SAMBA_4_0/source/include/core.h	2006-04-01 18:25:07 UTC (rev 14850)
+++ branches/SAMBA_4_0/source/include/core.h	2006-04-01 18:26:30 UTC (rev 14851)
@@ -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 {



More information about the samba-cvs mailing list