mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[quikcjs] compilation fix for 32bit systems
This commit is contained in:
parent
4617d7d8ef
commit
e7cc68f742
@ -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);
|
void quickjs_call_function(struct ecmascript_interpreter *interpreter, JSValueConst fun, struct string *ret);
|
||||||
|
|
||||||
|
#ifndef JS_NAN_BOXING
|
||||||
inline int operator<(JSValueConst a, JSValueConst b)
|
inline int operator<(JSValueConst a, JSValueConst b)
|
||||||
{
|
{
|
||||||
return JS_VALUE_GET_PTR(a) < JS_VALUE_GET_PTR(b);
|
return JS_VALUE_GET_PTR(a) < JS_VALUE_GET_PTR(b);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
extern struct module quickjs_module;
|
extern struct module quickjs_module;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user