mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 17:13:08 +00:00
Fix ABI incompatibility with --with-system-mozjs185 in debug mode (see #990).
This was SVN commit r10535.
This commit is contained in:
@@ -274,7 +274,7 @@ JSBool GetBuildTimestamp(JSContext* cx, uintN argc, jsval* vp)
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if MOZJS_DEBUG_ABI
|
||||
void DumpHeap(const char* basename, int idx, JSContext* cx)
|
||||
{
|
||||
char filename[64];
|
||||
@@ -292,7 +292,7 @@ JSBool DumpHeaps(JSContext* cx, uintN argc, jsval* vp)
|
||||
UNUSED2(cx);
|
||||
UNUSED2(argc);
|
||||
|
||||
#ifdef DEBUG
|
||||
#if MOZJS_DEBUG_ABI
|
||||
static int i = 0;
|
||||
|
||||
if (ScriptingHost::IsInitialised())
|
||||
|
||||
Reference in New Issue
Block a user