X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdbool.h;h=daec901e450eb1633cbe183917c5e07918bb62d1;hb=be738e08ec9ba2498d81153bee1de9b8af7e764c;hp=f067e975d545ceeaaa5bd360ea0965c864dc9760;hpb=4c805021b487dff9bfc6341c998ba99636416ae7;p=pdclib diff --git a/includes/stdbool.h b/includes/stdbool.h index f067e97..daec901 100644 --- a/includes/stdbool.h +++ b/includes/stdbool.h @@ -1,8 +1,4 @@ -/* $Id$ */ - -/* Release $Name$ */ - -/* 7.16 Boolean type and values +/* Boolean type and values This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -11,10 +7,12 @@ #ifndef _PDCLIB_STDBOOL_H #define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H -#define bool _Bool -#define true 1 -#define false 0 +#ifndef __cplusplus +#define bool _Bool +#define true 1 +#define false 0 +#endif + #define __bool_true_false_are_defined 1 #endif -