X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdbool.h;h=8f6a1d0ff1d9ed04037c58a80f7f8e96ee7c955e;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=734a52dd99733fde260901db7ad395f2306fd3bf;hpb=1e221deb9ee725a14b3656f94e2763f8faeb18dc;p=pdclib diff --git a/includes/stdbool.h b/includes/stdbool.h index 734a52d..8f6a1d0 100644 --- a/includes/stdbool.h +++ b/includes/stdbool.h @@ -1,15 +1,15 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- -// TODO -// ---------------------------------------------------------------------------- +/* Boolean type and values -#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 -#endif // __STDBOOL_H +#define bool _Bool +#define true 1 +#define false 0 +#define __bool_true_false_are_defined 1 + +#endif