about summary refs log tree commit diff stats
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/javascript.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/javascript.nim b/src/js/javascript.nim
index f13305c7..f3193199 100644
--- a/src/js/javascript.nim
+++ b/src/js/javascript.nim
@@ -56,6 +56,9 @@ export
   JS_GetGlobalObject, JS_FreeValue, JS_IsException, JS_GetPropertyStr,
   JS_IsFunction, JS_NewCFunctionData, JS_Call, JS_DupValue
 
+when sizeof(int) < sizeof(int64):
+  export quickjs.`==`
+
 type
   JSContextOpaque* = ref object
     creg: Table[string, JSClassID]