Il 30/03/2012 19:53, Anthony Liguori ha scritto: >>>> >>>> +#define FMT_timeval "%" PRId64 ".%06" PRId64 >>> >>> Does %ld work instead of PRId64? >> >> That works for my 32 bit Debian, but it would fail on 64 bit Linux. > > It works on my 64-bit Linux fwiw.
It would fail on x32, but it's a good start. I could only fix it up next Monday, so feel free to beat me to it. Paolo