When I add the following codes in my .rss file,
it seems like __WINSCW_ is never been defined even though
WINSCW UDEB is chosen to be the target environment in CodeWarrior.So "some codes B" in .rss is always been compiled rather than "some codes A."
= = = = = = = = = = = = = = = = =
#ifdef __WINSCW__
// some codes A
#else
// some codes B
#endif
= = = = = = = = = = = = = = = = =
However in .h files and .cpp files, by switching between WINSCW UDEB and GCCE UREL, __WINSCW__ can be defined or not accordingly.
So what macro can I use to get the correct effect?
Thanks in advance!

Reply With Quote

