Backed out a change in the previous checkin that broke the Windows gcc
authorwtchang%redhat.com
Mon, 13 Mar 2006 02:16:58 +0000
changeset 3611 016151ef344b273a59152e74ef91e42bf0a846f4
parent 3609 924825f8a08b8f2e0d28547d9b6207ccc4b83bd2
child 3613 a6e0f185f707cdd4908b7b9b6e27b66a25a62bb2
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)
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