Issue #62 - Follow-up: Fix debug build bustage with shared Spidermonkey.

A method marked with dllimport shouldn't be defined.
This commit is contained in:
Job Bautista 2023-04-02 12:47:04 +08:00 • committed by roytam1
commit af72806b33

View file

@ -85,7 +85,7 @@ nsJSPrincipals::Destroy(JSPrincipals *jsprin)
#ifdef DEBUG #ifdef DEBUG
// Defined here so one can do principals->dump() in the debugger // Defined here so one can do principals->dump() in the debugger
JS_PUBLIC_API(void) void
JSPrincipals::dump() JSPrincipals::dump()
{ {
if (debugToken == nsJSPrincipals::DEBUG_TOKEN) { if (debugToken == nsJSPrincipals::DEBUG_TOKEN) {