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

Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit mode
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-11-27 21:00:34 +09:00
committed by GitHub
+4
View File
@@ -11,6 +11,10 @@
# error MRB_INT16 is too small for MRB_WORD_BOXING.
#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 {
MRB_OBJECT_HEADER;
mrb_float f;