add support for ocaml 3.12
[oota-llvm.git] / bindings / ocaml / executionengine / executionengine_ocaml.c
index 5b1e32efefcd5404a2ea288e7fb387d9581e88a0..02e030605720ee4e7ee1c8f00faf800862024042 100644 (file)
@@ -75,6 +75,9 @@ static struct custom_operations generic_value_ops = {
   custom_hash_default,
   custom_serialize_default,
   custom_deserialize_default
+#ifdef custom_compare_ext_default
+  , custom_compare_ext_default
+#endif
 };
 
 static value alloc_generic_value(LLVMGenericValueRef Ref) {