1
0
Fork 0

[quikcjs] compilation fix for 32bit systems

This commit is contained in:
Witold Filipczyk 2021-11-22 10:41:33 +01:00
parent 4617d7d8ef
commit e7cc68f742
1 changed files with 2 additions and 0 deletions

View File

@ -33,10 +33,12 @@ int quickjs_eval_boolback(struct ecmascript_interpreter *interpreter, struct str
void quickjs_call_function(struct ecmascript_interpreter *interpreter, JSValueConst fun, struct string *ret);
#ifndef JS_NAN_BOXING
inline int operator<(JSValueConst a, JSValueConst b)
{
return JS_VALUE_GET_PTR(a) < JS_VALUE_GET_PTR(b);
}
#endif
extern struct module quickjs_module;
#endif