mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Sanity check. As there are implicaton SIZE_MAX >= UINT32_MAX in this code. This assumption may break on some targets which have 16bit memory space.
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
#include "mruby/irep.h"
|
||||
|
||||
|
||||
#ifndef _WIN32
|
||||
# if SIZE_MAX < UINT32_MAX
|
||||
# error "It can't be run this code on this environment (SIZE_MAX < UINT32_MAX)"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static size_t
|
||||
offset_crc_body()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user