From b564056dda12063746dd880907ce06d1e33b12e6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 28 Mar 2008 07:42:07 +0000 Subject: [PATCH] GCC provides . git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24617 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/stdbool.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 headers/posix/stdbool.h diff --git a/headers/posix/stdbool.h b/headers/posix/stdbool.h deleted file mode 100644 index 2a47a6dd64..0000000000 --- a/headers/posix/stdbool.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2005, Haiku Inc. All Rights Reserved. - * Distributed under the terms of the MIT License. - */ -#ifndef _STDBOOL_H_ -#define _STDBOOL_H_ - -#ifndef __bool_true_false_are_defined - -#ifndef __cplusplus -# if __GNUC__ < 3 -// sizeof(_Bool) == 1 must be true for BeOS compatibility -typedef unsigned char _Bool; -# endif -# define bool _Bool -# define true 1 -# define false 0 -#else -# define _Bool bool -# define bool bool -# define true true -# define false false -#endif - -#define __bool_true_false_are_defined 1 - -#endif // __bool_true_false_are_defined - -#endif /* _STDBOOL_H_ */