Re: #define not working
Re: #define not working
- Subject: Re: #define not working
- From: Scott Ribe <email@hidden>
- Date: Sat, 01 Oct 2005 16:11:39 -0600
- Thread-topic: #define not working
> The cause of the OP's problem must be something else, probably that
> the header file defining the preproccessor symbol is not included.
Yes, so replace:
#define DEBUG_LOG
With:
#define DEBUG_LOG 1
And also replace:
#ifdef DEBUG_LOG
With:
#if DEBUG_LOG
And that will provide a nice compile-time error wherever the proper header
is not included.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden