Unverified Commit 92888054 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5117 from dearblue/nan-32bit

Fixed build NaN boxing with 32-bit CPU mode
parents e2829bef e993b83c
...@@ -41,7 +41,11 @@ union mrb_value_ { ...@@ -41,7 +41,11 @@ union mrb_value_ {
struct { struct {
MRB_ENDIAN_LOHI( MRB_ENDIAN_LOHI(
uint32_t ttt; uint32_t ttt;
#ifdef MRB_64BIT
,uint32_t i; ,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