* grub-core/lib/posix_wrap/sys/types.h (bool): Transform into an enum.
(uint8_t): New type. (uint16_t): Likewise. (uint32_t): Likewise. (uint64_t): Likewise.
This commit is contained in:
parent
b81e40a379
commit
a17792c324
2 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2010-09-05 Szymon Janc <szymon@janc.net.pl>
|
||||||
|
|
||||||
|
* grub-core/lib/posix_wrap/sys/types.h (bool): Transform into an enum.
|
||||||
|
(uint8_t): New type.
|
||||||
|
(uint16_t): Likewise.
|
||||||
|
(uint32_t): Likewise.
|
||||||
|
(uint64_t): Likewise.
|
||||||
|
|
||||||
2010-09-05 Szymon Janc <szymon@janc.net.pl>
|
2010-09-05 Szymon Janc <szymon@janc.net.pl>
|
||||||
|
|
||||||
* include/grub/crypto.h (GRUB_MD_CRC32): New definition.
|
* include/grub/crypto.h (GRUB_MD_CRC32): New definition.
|
||||||
|
|
|
@ -22,11 +22,14 @@
|
||||||
#include <grub/misc.h>
|
#include <grub/misc.h>
|
||||||
|
|
||||||
typedef grub_size_t size_t;
|
typedef grub_size_t size_t;
|
||||||
typedef int bool;
|
typedef enum { false = 0, true = 1 } bool;
|
||||||
static const bool true = 1;
|
|
||||||
static const bool false = 0;
|
|
||||||
|
|
||||||
#define ULONG_MAX GRUB_ULONG_MAX
|
#define ULONG_MAX GRUB_ULONG_MAX
|
||||||
#define UCHAR_MAX 0xff
|
#define UCHAR_MAX 0xff
|
||||||
|
|
||||||
|
typedef grub_uint8_t uint8_t;
|
||||||
|
typedef grub_uint16_t uint16_t;
|
||||||
|
typedef grub_uint32_t uint32_t;
|
||||||
|
typedef grub_uint64_t uint64_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue