Backed out a change in the previous checkin that broke the Windows gcc NSPRPUB_PRE_4_2_CLIENT_BRANCH
authorwtchang%redhat.com
Mon, 13 Mar 2006 00:07:21 +0000
branchNSPRPUB_PRE_4_2_CLIENT_BRANCH
changeset 3610 8f8d5f8ea4b2091e5c4a08a286baed40bc9b451c
parent 3608 79852a54f67f42ecb16ccd3f994dd0f664f30718
child 3612 cffaa580ebfba0b4f4627e15babcafe1278f1ed5
push idunknown
push userunknown
push dateunknown
bugs330150, 326168
Backed out a change in the previous checkin that broke the Windows gcc (MinGW) build. (Bugzilla bug 330150 and bug 326168) Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
pr/include/prtypes.h
--- a/pr/include/prtypes.h
+++ b/pr/include/prtypes.h
@@ -471,17 +471,17 @@ typedef PRUint8 PRPackedBool;
 /*
 ** Status code used by some routines that have a single point of failure or 
 ** special status return.
 */
 typedef enum { PR_FAILURE = -1, PR_SUCCESS = 0 } PRStatus;
 
 #ifndef __PRUNICHAR__
 #define __PRUNICHAR__
-#if (defined(__MWERKS__) || defined(_MSC_VER)) && defined(WIN32)
+#if defined(WIN32) || defined(XP_MAC)
 typedef wchar_t PRUnichar;
 #else
 typedef PRUint16 PRUnichar;
 #endif
 #endif
 
 /*
 ** WARNING: The undocumented data types PRWord and PRUword are