diff --git a/qjs.c b/qjs.c index 9d14e58..4a74b5e 100644 --- a/qjs.c +++ b/qjs.c @@ -371,7 +371,7 @@ static const JSMallocFunctions mi_mf = { #define PROG_NAME "qjs" -void polyfiller(ctx) { +void polyfiller(JSContext ctx) { //POLYFILLS FOR QJS FILES BEGIN const char *pf = "globalThis.global = globalThis;\n" "global.console.error = console.log\n"