rimage: elf.h: use stdint

This commit is contained in:
Janusz Jankowski 2019-01-30 06:47:11 +01:00 committed by Daniel Leung
parent 5c7e400a40
commit c80037bbab
1 changed files with 11 additions and 9 deletions

View File

@ -50,15 +50,17 @@
* not include the padding.
*/
typedef unsigned __int64 uint64;
typedef unsigned __int32 uint32;
typedef unsigned __int16 uint16;
typedef unsigned __int8 uint8;
#include <stdint.h>
typedef __int64 int64;
typedef __int32 int32;
typedef __int16 int16;
typedef __int8 int8;
typedef uint64_t uint64;
typedef uint32_t uint32;
typedef uint16_t uint16;
typedef uint8_t uint8;
typedef int64_t int64;
typedef int32_t int32;
typedef int16_t int16;
typedef int8_t int8;
typedef struct {
@ -958,4 +960,4 @@ typedef struct {
#define ELF32PHDRSIZE sizeof(Elf32_Phdr)
#define ELF32SHDRSIZE sizeof(Elf32_Shdr)
#define ELF32SYMSIZE sizeof(Elf32_Sym)
#define ELF32RELSIZE 8
#define ELF32RELSIZE 8