Use stdbool.h instead of manually defining bool
authorSimo Sorce <idra@samba.org>
Wed, 25 Feb 2009 15:02:41 +0000 (10:02 -0500)
committerSimo Sorce <idra@samba.org>
Wed, 25 Feb 2009 15:02:41 +0000 (10:02 -0500)
source4/lib/ldb/include/ldb.h

index eb8e0ed11e4309a28f7728b0a492be0377a2b1fc..be41151409a73813e3635f186c9bb6cdfc1d0eb2 100644 (file)
 #define _LDB_H_ 1
 /*! \endcond */
 
 #define _LDB_H_ 1
 /*! \endcond */
 
-#ifndef bool
-typedef int bool;
-#endif
-#ifndef true
-#define true 1
-#endif
-#ifndef false
-#define false 0
-#endif
-
+#include <stdbool.h>
 #include "talloc.h"
 #include "tevent.h"
 #include "ldb_errors.h"
 #include "talloc.h"
 #include "tevent.h"
 #include "ldb_errors.h"