Commit e993b83c authored by dearblue's avatar dearblue

Fixed build NaN boxing with 32-bit CPU mode

`SET_CPTR_VALUE()` requires the `p` field on 32-bit CPU mode.
parent e2829bef
......@@ -41,7 +41,11 @@ union mrb_value_ {
struct {
MRB_ENDIAN_LOHI(
uint32_t ttt;
#ifdef MRB_64BIT
,uint32_t i;
#else
,union { uint32_t i; void *p; };
#endif
)
};
};
......
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