[U-Boot] [PATCH 11/15] elf.h: Add missing int32_t typedef for WIN32 compilers
Peter Tyser
ptyser at xes-inc.com
Thu Mar 5 01:14:42 CET 2009
On Wed, 2009-03-04 at 18:54 -0500, Mike Frysinger wrote:
> 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 ?
It looks like we can, thanks for the pointer.
More information about the U-Boot
mailing list