summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml/executionengine
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-09-02 14:42:56 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-09-02 14:42:56 +0000
commit113b8c1007b7b210758a35ead8b00a18489c972c (patch)
tree2f290ad1cdde2a6161509287a98a877216cad4cc /llvm/bindings/ocaml/executionengine
parentdef4229973f85d62687d77929ea8c200f1f01c88 (diff)
downloadbcm5719-llvm-113b8c1007b7b210758a35ead8b00a18489c972c.tar.gz
bcm5719-llvm-113b8c1007b7b210758a35ead8b00a18489c972c.zip
add support for ocaml 3.12
llvm-svn: 163096
Diffstat (limited to 'llvm/bindings/ocaml/executionengine')
-rw-r--r--llvm/bindings/ocaml/executionengine/executionengine_ocaml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c b/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c
index 5b1e32efefc..02e03060572 100644
--- a/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c
+++ b/llvm/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) {
OpenPOWER on IntegriCloud