From df89961afe8768afc4ea58c3a8b789cc66989dac Mon Sep 17 00:00:00 2001 From: "rogerl%netscape.com" Date: Thu, 3 May 2001 00:30:47 +0000 Subject: [PATCH] Added hack to get around VC++ crash on using namespace JS2Runtime git-svn-id: svn://10.0.0.236/branches/JS2_DIKDIK_BRANCH@93730 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js2/tests/cpp/DikDik_Shell.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/js2/tests/cpp/DikDik_Shell.cpp b/mozilla/js2/tests/cpp/DikDik_Shell.cpp index 520c4814f81..df4d6d6fd39 100644 --- a/mozilla/js2/tests/cpp/DikDik_Shell.cpp +++ b/mozilla/js2/tests/cpp/DikDik_Shell.cpp @@ -63,11 +63,13 @@ static void initConsole(StringPtr consoleName, #endif + namespace JavaScript { namespace Shell { -// using namespace JS2Runtime; - +#ifndef _WIN32 + using namespace JS2Runtime; +#endif // Interactively read a line from the input stream in and put it into // s. Return false if reached the end of input before reading anything.