From 22793b1418ce6b44d4bf03314be259197aef72db Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Mon, 25 Oct 2004 21:11:55 +0000 Subject: [PATCH] fixing btek bustage git-svn-id: svn://10.0.0.236/trunk@164381 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/bootstrap/nsStringSupport.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mozilla/xpfe/bootstrap/nsStringSupport.h b/mozilla/xpfe/bootstrap/nsStringSupport.h index 6644ad50558..af6cba8258c 100644 --- a/mozilla/xpfe/bootstrap/nsStringSupport.h +++ b/mozilla/xpfe/bootstrap/nsStringSupport.h @@ -333,10 +333,9 @@ class NS_LossyConvertUCS2toASCII : public nsCString #define NS_LITERAL_CSTRING(s) nsDependentCString(s) -#ifdef HAVE_CPP_2BYTE_WCHAR_T +// only used by nsNativeAppSupport{Win,OS2}.cpp +#if defined(XP_WIN) || defined(XP_OS2) #define NS_LITERAL_STRING(s) nsDependentString(L##s) -#else -#error "need implementation of NS_LITERAL_STRING" #endif #define EmptyCString() nsCString()