Skip to content

Commit

Permalink
fix: fix windows compile
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall committed Jan 13, 2025
1 parent 17d4298 commit 45b11f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/quickjs_2021_03_27/quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -39892,7 +39892,7 @@ static JSValue js_number_isSafeInteger(JSContext *ctx, JSValueConst this_val,
return JS_NewBool(ctx, is_safe_integer(d));
}

static const JSCFunctionListEntry js_number_funcs[] = {
static JSCFunctionListEntry js_number_funcs[] = {
/* global ParseInt and parseFloat should be defined already or delayed */
JS_ALIAS_BASE_DEF("parseInt", "parseInt", 0 ),
JS_ALIAS_BASE_DEF("parseFloat", "parseFloat", 0 ),
Expand Down Expand Up @@ -47926,7 +47926,7 @@ static JSValue js_global_unescape(JSContext *ctx, JSValueConst this_val,

/* global object */

static const JSCFunctionListEntry js_global_funcs[] = {
static JSCFunctionListEntry js_global_funcs[] = {
JS_CFUNC_DEF("parseInt", 2, js_parseInt ),
JS_CFUNC_DEF("parseFloat", 1, js_parseFloat ),
JS_CFUNC_DEF("isNaN", 1, js_global_isNaN ),
Expand Down

0 comments on commit 45b11f8

Please sign in to comment.