mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove unnecessary CHAR_BIT != 8 check
mruby uses uint8_t which implies CHAR_BIT == 8.
This commit is contained in:
@@ -22,10 +22,6 @@
|
||||
# define SIZE_ERROR(x) (0)
|
||||
#endif
|
||||
|
||||
#if CHAR_BIT != 8
|
||||
# error This code assumes CHAR_BIT == 8
|
||||
#endif
|
||||
|
||||
#if UINT32_MAX > SIZE_MAX
|
||||
# error This code cannot be built on your environment.
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user