mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fixed build NaN boxing with 32-bit CPU mode
`SET_CPTR_VALUE()` requires the `p` field on 32-bit CPU mode.
This commit is contained in:
@@ -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
|
||||
)
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user