Re: #define TRUE/FALSE in stk.h
>>>>> "Shiro" == Shiro Kawai <shiro_at_squareusa.com> writes:
Shiro> In stk.h of 3.99.4, there's a #define of TRUE and FALSE.
Shiro> When I use stk with other packages whose header files also
Shiro> define TRUE and FALSE, some compiler print warning.
Shiro> Can they be like these?
Shiro> #ifndef FALSE
Shiro> #define FALSE 0
Shiro> #endif
Shiro> #ifndef TRUE
Shiro> #define TRUE (!FALSE)
Shiro> #endif
It's certainly going to work. Of course you could put this in the
other packages ;-)
Brian
Received on Tue Jul 20 1999 - 20:35:00 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST