Commit 5ea1bb0e authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #3301 from dabroz/feature-64-bit-word

Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit mode
parents f9f19f34 3fdfd8cb
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
# error MRB_INT16 is too small for MRB_WORD_BOXING. # error MRB_INT16 is too small for MRB_WORD_BOXING.
#endif #endif
#if defined(MRB_INT64) && !defined(MRB_64BIT)
#error MRB_INT64 cannot be used with MRB_WORD_BOXING in 32-bit mode.
#endif
struct RFloat { struct RFloat {
MRB_OBJECT_HEADER; MRB_OBJECT_HEADER;
mrb_float f; mrb_float f;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment