mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544
This commit is contained in:
parent
e4294421c9
commit
d0c5ecc6fc
@ -203,7 +203,15 @@
|
||||
|
||||
#ifndef __PRUNICHAR__
|
||||
#define __PRUNICHAR__
|
||||
typedef PRUint16 PRUnichar;
|
||||
/* For now, don't use wchar_t on Unix because it breaks the Netscape
|
||||
* commercial build. When this is fixed there will be no need for the
|
||||
* |NS_REINTERPRET_CAST| in nsLiteralString.h either.
|
||||
*/
|
||||
#if defined(HAVE_CPP_2BYTE_WCHAR_T) && (defined(XP_WIN) || defined(XP_MAC))
|
||||
typedef wchar_t PRUnichar;
|
||||
#else
|
||||
typedef PRUint16 PRUnichar;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user