From 4d00161e0a047e0a15842360a0a8653dc4f2ed53 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sun, 2 Sep 2012 14:42:56 +0000 Subject: add support for ocaml 3.12 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163096 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/ocaml/executionengine/executionengine_ocaml.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bindings/ocaml/executionengine/executionengine_ocaml.c') diff --git a/bindings/ocaml/executionengine/executionengine_ocaml.c b/bindings/ocaml/executionengine/executionengine_ocaml.c index 5b1e32e..02e0306 100644 --- a/bindings/ocaml/executionengine/executionengine_ocaml.c +++ b/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) { -- cgit v1.1