X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdbool.h;h=daec901e450eb1633cbe183917c5e07918bb62d1;hb=be738e08ec9ba2498d81153bee1de9b8af7e764c;hp=66166e16deea21a6e783fe77e2615f3fe31a7612;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib diff --git a/includes/stdbool.h b/includes/stdbool.h index 66166e1..daec901 100644 --- a/includes/stdbool.h +++ b/includes/stdbool.h @@ -1,6 +1,4 @@ -/* $Id$ */ - -/* 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. @@ -9,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 -