]> pd.if.org Git - pdclib/blobdiff - includes/stdbool.h
Corrected _PDCLIB_CHAR_SIGNED comment.
[pdclib] / includes / stdbool.h
index 6e9c83f07acaad0fdfea42e394c49abbb30e1297..daec901e450eb1633cbe183917c5e07918bb62d1 100644 (file)
@@ -1,35 +1,18 @@
-/* ----------------------------------------------------------------------------
- * $Id$
- * ----------------------------------------------------------------------------
- * Public Domain C Library - http://pdclib.sourceforge.net
- * This code is Public Domain. Use, modify, and redistribute at will.
- * ----------------------------------------------------------------------------
- * Boolean type and values
- * ----------------------------------------------------------------------------
- * This header is part of a freestanding implementation
- * --------------------------------------------------------------------------*/
+/* Boolean type and values <stdbool.h>
 
-#ifndef _STDBOOL_H
-#define _STDBOOL_H _STDBOOL_H
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
 
-/* ----------------------------------------------------------------------------
- * MACROS
- * --------------------------------------------------------------------------*/
-
-#define __bool_true_false_are_defined 1
+#ifndef _PDCLIB_STDBOOL_H
+#define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H
 
 #ifndef __cplusplus
-
 #define bool  _Bool
-#define false 0
 #define true  1
+#define false 0
+#endif
 
-/* ----------------------------------------------------------------------------
- * TYPEDEFS
- * --------------------------------------------------------------------------*/
-
-typedef int bool;
-
-#endif /* __cplusplus */
+#define __bool_true_false_are_defined 1
 
-#endif /* _STDBOOL_H */
+#endif