This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 19 Feb 2015 23:31, Jiri Gaisler wrote: > --- a/sim/erc32/sis.h > +++ b/sim/erc32/sis.h > @@ -52,8 +52,13 @@ typedef float float32; /* 32-bit float */ > typedef double float64; /* 64-bit float */ > > /* FIXME: what about host compilers that don't support 64-bit ints? */ > +#ifdef __LP64__ > +typedef unsigned long uint64; /* 64-bit unsigned int */ > +typedef long int64; /* 64-bit signed int */ > +#else > typedef unsigned long long uint64; /* 64-bit unsigned int */ > typedef long long int64; /* 64-bit signed int */ > +#endif what's up with these types ? just include stdint.h and use uint##_t instead. -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |