Hi Stephan,

>In C++, wchar_t is an integral type distinct from all other integral 
>types, it is not a typedef.  

ah, that explain all.


>The net effect is thus that 
>sal_Unicode is a typedef for unsigned short on all platforms except your 
>OS2 version built with GCC.  

ok.
BTW why doesn't also win32 rely on sal_uInt16? 

>I would assume everything works ok if you 
>remove "|| defined(SAL_OS2)" from sal/types.h.

I can do this, but does OpenOffice make use of compiler libc functions
for unicode?

I'm asking, because choosing unsigned short for sal_unicode will break
all (libc) functions prototypes.

TIA,


Bye,

        Yuri Dario

/*
 * member of TeamOS/2 - Italy
 * http://www.os2power.com/yuri
 * http://www.teamos2.it
 */

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to