define |PRUnichar| to be |wchar_t|, when applicable

This commit is contained in:
scc%mozilla.org 2000-06-11 00:49:29 +00:00
parent 3dbe5eaea8
commit c5867168d6

View File

@ -42,8 +42,11 @@
#ifndef __PRUNICHAR__
#define __PRUNICHAR__
/* typedef wchar_t PRUnichar; */
typedef PRUint16 PRUnichar;
#ifdef HAVE_CPP_2BYTE_WCHAR_T
typedef wchar_t PRUnichar;
#else
typedef PRUint16 PRUnichar;
#endif
#endif
/* The preferred symbol for null. */