On Fri, Oct 03, 2003 at 02:26:23PM -0700, Layne Lund wrote: > > Your right, there is a define without numeric value > > > > line 1: #ifndef MAC_RESOURCES_H > > line 2: #define MAC_RESOURCES_H
> From your earlier post, you DO get a warning. Perhaps PilRC can be > modified to accept this kind of #define? Otherwise, you may need to > remove it manually. Don't remove it, just change it to #define MAC_RESOURCES_H 1 The fact that it has no value assigned to it implies that if it's used anywhere else in the code, it will always be in the form of #ifdef MAC_RESOURCES_H ... #endif Defining it to be an empty value or defining it to be a numeric value won't affect that conditional. Ben is correct that it would be better that pilrc handles empty defines, but in the meantime, this is as good a workaround as any. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL Dave is currently listening to Green on Red - We Ain't Free (The Killer Inside Me) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
