includes: Define `CHAR_BIT` in `limits.h`
Change-Id: Ib1d80d0c7457f90596ef5cd9d5ad0c4a33c8d473 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55591 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
2eae410c54
commit
c1536adcf4
|
@ -39,6 +39,8 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define CHAR_BIT 8
|
||||||
|
|
||||||
#define USHRT_MAX ((unsigned short int)~0U)
|
#define USHRT_MAX ((unsigned short int)~0U)
|
||||||
#define SHRT_MIN ((short int)(USHRT_MAX & ~(USHRT_MAX >> 1)))
|
#define SHRT_MIN ((short int)(USHRT_MAX & ~(USHRT_MAX >> 1)))
|
||||||
#define SHRT_MAX ((short int)(USHRT_MAX >> 1))
|
#define SHRT_MAX ((short int)(USHRT_MAX >> 1))
|
||||||
|
|
Loading…
Reference in New Issue