summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-12-21 02:21:06 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-12-21 08:52:31 +0900
commit2fdb309e55b6f4ee5a0438aa25b5aac27da13fd4 (patch)
tree04485ef345f565224a2db5086c73557fbbd25b55 /include
parent7e35c659aa2516e4e59c765dea5bb0d1042453f7 (diff)
downloadmruby-2fdb309e55b6f4ee5a0438aa25b5aac27da13fd4.tar.gz
mruby-2fdb309e55b6f4ee5a0438aa25b5aac27da13fd4.zip
`mruby-pack` should not rely on `MRB_ENDIAN_BIG` macro; fix #4190
The `MRB_ENDIAN_BIG` macro is originally used for `NaN` boxing. We cannot assume it is defined on every big endian platform (#4190 is the case). So instead of relying on untrusted `MRB_ENDIAN_BIG`, we use `BYTE_ORDER` macro with a fallback function to check endian in runtime.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions