]> pd.if.org Git - pdclib/blobdiff - includes/stdbool.h
Removed SVN keyword tags.
[pdclib] / includes / stdbool.h
index 734a52dd99733fde260901db7ad395f2306fd3bf..afe5c74f535808161d58161413654aa476754c5e 100644 (file)
@@ -1,15 +1,19 @@
-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-// TODO
-// ----------------------------------------------------------------------------
+/* 7.16 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.
+*/
 
-// TODO
+#ifndef _PDCLIB_STDBOOL_H
+#define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H
+
+#ifndef __cplusplus
+#define bool                          _Bool
+#define true                          1
+#define false                         0
+#endif
+
+#define __bool_true_false_are_defined 1
+
+#endif
 
-#endif // __STDBOOL_H