mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Fix runtime issues under GCC on WIndows
This commit is contained in:
parent
7917e6bed3
commit
1639a538c2
2 changed files with 4 additions and 2 deletions
|
|
@ -335,7 +335,7 @@ GlobalObject*
|
|||
GlobalObject::createInternal(JSContext* cx, const Class* clasp)
|
||||
{
|
||||
MOZ_ASSERT(clasp->flags & JSCLASS_IS_GLOBAL);
|
||||
MOZ_ASSERT(clasp->isTrace(JS_GlobalObjectTraceHook));
|
||||
MOZ_ASSERT(clasp->hasTrace());
|
||||
|
||||
JSObject* obj = NewObjectWithGivenProto(cx, clasp, nullptr, SingletonObject);
|
||||
if (!obj)
|
||||
|
|
|
|||
|
|
@ -242,7 +242,6 @@ UNIFIED_SOURCES += [
|
|||
'nsURLParsers.cpp',
|
||||
'PollableEvent.cpp',
|
||||
'Predictor.cpp',
|
||||
'ProxyAutoConfig.cpp',
|
||||
'RedirectChannelRegistrar.cpp',
|
||||
'RequestContextService.cpp',
|
||||
'SimpleBuffer.cpp',
|
||||
|
|
@ -255,15 +254,18 @@ UNIFIED_SOURCES += [
|
|||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
SOURCES += [
|
||||
'nsURLHelperWin.cpp',
|
||||
'ProxyAutoConfig.cpp',
|
||||
'ShutdownLayer.cpp',
|
||||
]
|
||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
SOURCES += [
|
||||
'nsURLHelperOSX.cpp',
|
||||
'ProxyAutoConfig.cpp',
|
||||
]
|
||||
else:
|
||||
SOURCES += [
|
||||
'nsURLHelperUnix.cpp',
|
||||
'ProxyAutoConfig.cpp',
|
||||
]
|
||||
|
||||
# nsINetworkInfoService support.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue