Skip to content
Browse files

add support for ocaml 3.12

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163096 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information...
1 parent 2d892c5 commit 4d00161e0a047e0a15842360a0a8653dc4f2ed53 @nunoplopes nunoplopes committed Sep 2, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 bindings/ocaml/executionengine/executionengine_ocaml.c
  2. +3 −0 bindings/ocaml/llvm/llvm_ocaml.c
View
3 bindings/ocaml/executionengine/executionengine_ocaml.c
@@ -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) {
View
3 bindings/ocaml/llvm/llvm_ocaml.c
@@ -1277,6 +1277,9 @@ static struct custom_operations builder_ops = {
custom_hash_default,
custom_serialize_default,
custom_deserialize_default
+#ifdef custom_compare_ext_default
+ , custom_compare_ext_default
+#endif
};
static value alloc_builder(LLVMBuilderRef B) {

0 comments on commit 4d00161

Please sign in to comment.
Something went wrong with that request. Please try again.