fix bug 81436. Some Solaris compilers screwup symbol resolution if there is a file scope var that is also declared as extern. So we'll just make it not declare these two static (thses are not names that is going to conflict with anything!) r=timeless rs=jband

This commit is contained in:
jband%netscape.com 2001-05-18 23:24:19 +00:00
Родитель 7b2d93cb0d
Коммит 15b0e60bb7
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -292,7 +292,8 @@ static JSBool gClassObjectsWereKilled = JS_FALSE;
static JSBool gClassObjectsWereInited = JS_FALSE;
NS_DECL_CI_INTERFACE_GETTER(nsJSIID)
static nsIClassInfo* NS_CLASSINFO_NAME(nsJSIID);
// Can't make this static. http://bugzilla.mozilla.org/show_bug.cgi?id=81436
nsIClassInfo* NS_CLASSINFO_NAME(nsJSIID);
static nsModuleComponentInfo CI_nsJSIID =
{"JSIID",
{0x26ecb8d0, 0x35c9, 0x11d5, { 0x90, 0xb2, 0x0, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }},
@ -302,7 +303,8 @@ static nsModuleComponentInfo CI_nsJSIID =
&NS_CLASSINFO_NAME(nsJSIID), 0};
NS_DECL_CI_INTERFACE_GETTER(nsJSCID)
static nsIClassInfo* NS_CLASSINFO_NAME(nsJSCID);
// Can't make this static. http://bugzilla.mozilla.org/show_bug.cgi?id=81436
nsIClassInfo* NS_CLASSINFO_NAME(nsJSCID);
static nsModuleComponentInfo CI_nsJSCID =
{"JSCID",
{0x9255b5b0, 0x35cf, 0x11d5, { 0x90, 0xb2, 0x0, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }},