On Mon, 24 Jul 2000 [EMAIL PROTECTED] wrote:

> Hi all,
> 
> I just wanted to see some green in Tinderbox BeOS column...
> 
> BeOS does not support restartable mbtowc (and surch) nor
> does it defines m_state. I've read in the guidelines (rule #6 ?)
> that #ifdef <platform> is not allowed in cross-platform code.
> 
> So my question : how to fix the build ? Should ut_mbtowc.cpp
> be platform-specific ?
> 

It isn't a hard rule, ie if you have no other way to
address the problem then you can do an #ifdef.  In
fact if you take a look at the current ut_mb* code
you will see that there is in fact there already is
an #if def in there for QNXNTO since Neutrino's libc
seems to be missing these calls (for whatever reason)
so I had to punt and put some different code in as
a temporary measure.

Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher       QNX Software Systems
[EMAIL PROTECTED]                 Neutrino Development Group
(613)-591-0931                  http://www.qnx.com/~thomasf




Reply via email to