Re: [hatari-devel] undefined PRId64 and PRIu64 in cycInt.c and fdc.c |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Am Fri, 15 Aug 2014 23:32:51 +0200
schrieb Max Böhm <mboehm3@xxxxxxxxx>:
> Hi,
>
> When building Hatari on ubuntu 14.04 with mingw I get some errors:
>
> In file included from /home/hatari/src/fdc.c:28:0:
> /home/hatari/src/fdc.c: In function 'FDC_IndexPulse_Update':
> /home/hatari/src/fdc.c:1523:80: error: expected ')' before 'PRIu64'
> LOG_TRACE(TRACE_FDC, "fdc update index drive=%d side=%d counter=%d
> ip_time=%"PRIu64" VBL=%d HBL=%d\n" ,
>
> ^
> I think this can be fixed by adding
>
> #include <inttypes.h>
>
> to the files cycInt.c and fdc.c.
Done. Thanks for the hint!
Thomas