check for 8 bits

This commit is contained in:
Devaev Maxim
2020-01-14 16:46:31 +03:00
parent cc00d0fea3
commit ef4150877b

View File

@@ -25,6 +25,11 @@
# error WTF dude? Asserts are good things! # error WTF dude? Asserts are good things!
#endif #endif
#include <limits.h>
#if CHAR_BIT != 8
# error There are not 8 bits in a char!
#endif
#include <stdio.h> #include <stdio.h>
#include <signal.h> #include <signal.h>