[U-Boot] [PATCH 11/15] elf.h: Add missing int32_t typedef for WIN32 compilers

Mike Frysinger vapier at gentoo.org
Thu Mar 5 00:54:00 CET 2009


On Wednesday 04 March 2009 18:33:01 Peter Tyser wrote:
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
>  include/elf.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/elf.h b/include/elf.h
> index a9839df..3a948f7 100644
> --- a/include/elf.h
> +++ b/include/elf.h
> @@ -45,6 +45,7 @@
>  #include <unistd.h>
>  typedef	 unsigned char	 uint8_t;
>  typedef	 unsigned short  uint16_t;
> +typedef	 int	 	 int32_t;
>  typedef	 unsigned int	 uint32_t;
>  #endif

the mingw compiler provides int32_t types via stdint.h like pretty much every 
other sane system.  why cant we use that instead ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090304/408338d7/attachment.pgp 


More information about the U-Boot mailing list