This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: stdbool.h
- From: Lyon <lyo at mail dot lanck dot net>
- To: newlib at sources dot redhat dot com
- Date: Thu, 03 Jul 2003 03:08:52 +0400
- Subject: Re: stdbool.h
- References: <1057175548.3148.114.camel@bluesteel.pathway>
- Reply-to: newlib at sources dot redhat dot com
Hello!
On 02 Jul 2003 13:52:28 -0600
Shaun Jackman <sjackman@pathwayconnect.com> wrote:
SJ>
SJ> #ifndef _STDBOOL_H_
SJ> #define _STDBOOL_H_
SJ>
SJ> typedef enum { false, true } bool;
SJ>
SJ> #endif
SJ>
Would it be compiled successfully as a C++ source? May be,
this needs #if !defined ( __CPLUSPLUS ) / #endif additionally?
--
lyo+
lyo/at/mail/dot/lanck/dot/net