Skip to content
Snippets Groups Projects
Commit b050c72d authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 39f7aacf
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,7 @@ typedef unsigned int uint; ...@@ -55,6 +55,7 @@ typedef unsigned int uint;
typedef uint8_t __u8; typedef uint8_t __u8;
typedef uint16_t __u16; typedef uint16_t __u16;
typedef uint32_t __u32; typedef uint32_t __u32;
typedef unsigned int uint;
#define uswap_16(x) \ #define uswap_16(x) \
((((x) & 0xff00) >> 8) | \ ((((x) & 0xff00) >> 8) | \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment