updated stdbool.h

SupportDefs.h now includes stdbool.h
This can break in some cases


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11985 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2005-03-25 17:08:27 +00:00
parent f0a0f2a462
commit aab32edf08
2 changed files with 13 additions and 8 deletions
+7 -5
View File
@@ -40,6 +40,7 @@ typedef unsigned short ushort;
// System Includes -------------------------------------------------------------
#include <BeBuild.h>
#include <sys/types.h>
#include <stdbool.h>
#include <Errors.h>
// Project Includes ------------------------------------------------------------
@@ -116,11 +117,12 @@ extern _IMPEXP_BE const char *B_EMPTY_STRING;
// Grandfathering --------------------------------------------------------------
#ifndef __cplusplus
typedef unsigned char bool;
#define false 0
#define true 1
#endif
//#ifndef __cplusplus
//typedef enum { false = 0, true = 1 } _Bool;
//#define bool _Bool
//#define false 0
//#define true 1
//#endif
#ifndef NULL
#define NULL (0)