mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 22:07:30 +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)
|
GlobalObject::createInternal(JSContext* cx, const Class* clasp)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(clasp->flags & JSCLASS_IS_GLOBAL);
|
MOZ_ASSERT(clasp->flags & JSCLASS_IS_GLOBAL);
|
||||||
MOZ_ASSERT(clasp->isTrace(JS_GlobalObjectTraceHook));
|
MOZ_ASSERT(clasp->hasTrace());
|
||||||
|
|
||||||
JSObject* obj = NewObjectWithGivenProto(cx, clasp, nullptr, SingletonObject);
|
JSObject* obj = NewObjectWithGivenProto(cx, clasp, nullptr, SingletonObject);
|
||||||
if (!obj)
|
if (!obj)
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,6 @@ UNIFIED_SOURCES += [
|
||||||
'nsURLParsers.cpp',
|
'nsURLParsers.cpp',
|
||||||
'PollableEvent.cpp',
|
'PollableEvent.cpp',
|
||||||
'Predictor.cpp',
|
'Predictor.cpp',
|
||||||
'ProxyAutoConfig.cpp',
|
|
||||||
'RedirectChannelRegistrar.cpp',
|
'RedirectChannelRegistrar.cpp',
|
||||||
'RequestContextService.cpp',
|
'RequestContextService.cpp',
|
||||||
'SimpleBuffer.cpp',
|
'SimpleBuffer.cpp',
|
||||||
|
|
@ -255,15 +254,18 @@ UNIFIED_SOURCES += [
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
'nsURLHelperWin.cpp',
|
'nsURLHelperWin.cpp',
|
||||||
|
'ProxyAutoConfig.cpp',
|
||||||
'ShutdownLayer.cpp',
|
'ShutdownLayer.cpp',
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
'nsURLHelperOSX.cpp',
|
'nsURLHelperOSX.cpp',
|
||||||
|
'ProxyAutoConfig.cpp',
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
'nsURLHelperUnix.cpp',
|
'nsURLHelperUnix.cpp',
|
||||||
|
'ProxyAutoConfig.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
# nsINetworkInfoService support.
|
# nsINetworkInfoService support.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue