[patch bfd]: Add further support for x86_64 mingw
Brian Dessent
brian@dessent.net
Sat Jan 19 20:28:00 GMT 2008
Kai Tietz wrote:
> +#ifndef _WIN32
> #define sprintf_vma(s,x) sprintf (s, "%016llx", x)
> #define fprintf_vma(f,x) fprintf (f, "%016llx", x)
> #else
> +#define sprintf_vma(s,x) sprintf (s, "%016I64x", x)
> +#define fprintf_vma(f,x) fprintf (f, "%016I64x", x)
> +#endif
> +#else
Can't you just use the standard inttypes.h macros, e.g.
#define sprintf_vma(s,x) sprintf (s, "%016" PRIx64, x)
Brian
More information about the Binutils
mailing list