X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdbool.h;h=66166e16deea21a6e783fe77e2615f3fe31a7612;hb=0d54a75af25ca44411e7c4190cc2a93a390e61a2;hp=734a52dd99733fde260901db7ad395f2306fd3bf;hpb=3f035390c831709593428e88bb1c640604434d60;p=pdclib.old diff --git a/includes/stdbool.h b/includes/stdbool.h index 734a52d..66166e1 100644 --- a/includes/stdbool.h +++ b/includes/stdbool.h @@ -1,15 +1,18 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- -// TODO -// ---------------------------------------------------------------------------- +/* $Id$ */ -#ifndef __STDBOOL_H -#define __STDBOOL_H __STDBOOL_H +/* 7.16 Boolean type and values -// TODO + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef _PDCLIB_STDBOOL_H +#define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H + +#define bool _Bool +#define true 1 +#define false 0 +#define __bool_true_false_are_defined 1 + +#endif -#endif // __STDBOOL_H