Satisfy some bison versions need for inttypes.h.
* grub-core/lib/posix_wrap/inttypes.h: New file. * grub-core/lib/posix_wrap/sys/types.h (int8_t): New type. (int16_t): Likewise. (int32_t): Likewise. (int64_t): Likewise. Reported and tested by: Alain Greppin.
This commit is contained in:
parent
43f1bc8369
commit
0fd48e357f
3 changed files with 17 additions and 0 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Satisfy some bison versions need for inttypes.h.
|
||||||
|
|
||||||
|
* grub-core/lib/posix_wrap/inttypes.h: New file.
|
||||||
|
* grub-core/lib/posix_wrap/sys/types.h (int8_t): New type.
|
||||||
|
(int16_t): Likewise.
|
||||||
|
(int32_t): Likewise.
|
||||||
|
(int64_t): Likewise.
|
||||||
|
Reported and tested by: Alain Greppin.
|
||||||
|
|
||||||
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-01-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
|
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
|
||||||
|
|
1
grub-core/lib/posix_wrap/inttypes.h
Normal file
1
grub-core/lib/posix_wrap/inttypes.h
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include <sys/types.h>
|
|
@ -32,6 +32,11 @@ typedef grub_uint16_t uint16_t;
|
||||||
typedef grub_uint32_t uint32_t;
|
typedef grub_uint32_t uint32_t;
|
||||||
typedef grub_uint64_t uint64_t;
|
typedef grub_uint64_t uint64_t;
|
||||||
|
|
||||||
|
typedef grub_int8_t int8_t;
|
||||||
|
typedef grub_int16_t int16_t;
|
||||||
|
typedef grub_int32_t int32_t;
|
||||||
|
typedef grub_int64_t int64_t;
|
||||||
|
|
||||||
#ifdef GRUB_CPU_WORDS_BIGENDIAN
|
#ifdef GRUB_CPU_WORDS_BIGENDIAN
|
||||||
#define WORDS_BIGENDIAN
|
#define WORDS_BIGENDIAN
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue