compiler.h: add uint typedef
PATCH 1/1 compiler.h: add uint typedef
Recent crc changes started using the "uint" type in headers that are used on the build system. This subsequently broke mingw targets as they do not provide such a type. So add this basic typedef to compiler.h so that we do not have to worry about this breaking again in the future.
Signed-off-by Mike Frysinger <[email protected]>
--- include/compiler.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/compiler.h +1 -0
@@ -55,6 +55,7 @@ typedef unsigned int uint;typedef uint8_t __u8 ;typedef uint16_t __u16 ;typedef uint32_t __u32 ; +typedef unsigned int uint ;#define uswap_16 (x) \ ((((x) & 0xff00) >> 8) | \
Signature · 1 line
1.7.0.4
Wolfgang Denk
AppliedPATCH 1/1 compiler.h: add uint typedef
Dear Mike Frysinger,
Quoted 9 lines · In message <[email protected]> you wrote:
Recent crc changes started using the "uint" type in headers that are used on the build system. This subsequently broke mingw targets as they do not provide such a type. So add this basic typedef to
compiler.hso that we do not have to worry about this breaking again in the future.Signed-off-by Mike Frysinger <[email protected]>--- include/compiler.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Anyone can count the seeds in an apple. No one can count the apples in a seed.