add support for ocaml 3.12

llvm-svn: 163096
This commit is contained in:
Nuno Lopes 2012-09-02 14:42:56 +00:00
parent def4229973
commit 113b8c1007
2 changed files with 6 additions and 0 deletions

View 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) {

View File

@ -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) {