Re: Compiling on Mac OS X

"Steven R. Loomis" <[email protected]>
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
On Thursday, September 11, 2003, at 04:52 AM, Venkatram Vundavalli 
wrote:

> Hi,
> Thanks for your responses. Even though I installed ICU package using 
> gcc and
> not thru Code Warrior, I was getting this error.
>
> This is because of the flag __MWERKS__ and I was able to solve my 
> errors by
> undefined __MWERKS__ before including unistr.h.
>
> I think the flag __MWERKS__ is defined by Code Warrior. It is not the 
> right
> flag to identify Mac Classic.
> May I say it is a bug?

I agree, there should be another way to detect Classic.

yes.,   if you like, could you file it on  
http://www.jtcsv.com/cgibin/icu-bugs please ? if not, I can file it.

could you try changing it to:

	#elif defined(__MWERKS__) && !defined(__MACH__)

and see if that works.


Regards,
  Steven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.