Skip to content

Commit

Permalink
possibly work with more compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Jan 2, 2013
1 parent 809c66b commit 78fadea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/extconf.rb
Expand Up @@ -48,7 +48,7 @@

bignum_as_double_key = {:assert_key_type => ['T_BIGNUM', 'T_FIXNUM'], :convert_keys_from_ruby => "rb_big2dbl",
:convert_keys_to_ruby => "rb_dbl2big", :key_type => "double", :unreachable_key => "1<<#{unreachable_long}", # LODO is this a bignum value though? LODO TEST this key on 64 bit!
:extra_hash_params => ", hashdouble, eqdouble",
#:extra_hash_params => ", hashdouble, eqdouble", # provided natively?
:extra_set_code => "if(TYPE(set_this) == T_FIXNUM)\nset_this = rb_int2big(FIX2INT(set_this));",
:extra_get_code => "if(TYPE(get_this) == T_FIXNUM) \n get_this = rb_int2big(FIX2INT(get_this));"
}
Expand Down
Empty file added to_build_locally_run_ext_go_bat
Empty file.

0 comments on commit 78fadea

Please sign in to comment.