summaryrefslogtreecommitdiffhomepage
path: root/src/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/load.c')
-rw-r--r--src/load.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/load.c b/src/load.c
index be3d9ac65..8cd303ca5 100644
--- a/src/load.c
+++ b/src/load.c
@@ -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()
{