Skip to content

Commit c72c74e

Browse files
committedApr 6, 2024
1 parent 5b86e5e commit c72c74e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

Diff for: ‎quickjs.c

+6
Original file line numberDiff line numberDiff line change
@@ -41032,6 +41032,12 @@ static JSValue js_math_random(JSContext *ctx, JSValue this_val,
4103241032
return js_float64(u.d - 1.0);
4103341033
}
4103441034

41035+
#if defined(_MSC_VER)
41036+
#pragma function (ceil)
41037+
#pragma function (floor)
41038+
#pragma function (log2)
41039+
#endif
41040+
4103541041
static const JSCFunctionListEntry js_math_funcs[] = {
4103641042
JS_CFUNC_MAGIC_DEF("min", 2, js_math_min_max, 0 ),
4103741043
JS_CFUNC_MAGIC_DEF("max", 2, js_math_min_max, 1 ),

0 commit comments

Comments
 (0)