stdbool.h

Lyon lyo@mail.lanck.net
Thu Jul 3 15:20:00 GMT 2003


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



More information about the Newlib mailing list