How to define a preprocessor macro.
How to define a preprocessor macro.
- Subject: How to define a preprocessor macro.
- From: Luca Ciciriello <email@hidden>
- Date: Wed, 4 Feb 2009 13:26:05 +0100
Hi all.
I've a little problem. In Xcode 3.1.2, in the section "Preprocessor
macros" I've typed _CASEINSENSITIVE. Then in my C++ code I use the
following discriminator:
#ifdef _CASEINSENSITIVE
do something
#else
do something else
#endif
Well, my compiler (GCC 4.2) seems to ignore the first branch and then
it execute the second branch.
I've made the setting of the macro in the project options and in the
target option.
That's all.
Thanks in advance for any help.
Luca.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden