Hash :
cc07f45b
Author :
Date :
2015-05-26T15:00:50
inttypes: force correct mingw PRIdMAX even without <stdio.h> The mingw trick of using __USE_MINGW_ANSI_STDIO only changes the definitions in <inttypes.h> if <stdio.h> is also included. But since we want to always use the __gnu_printf__ flavor when available, we want to make sure that including <inttypes.h> in isolation will give the desired "lld" answer. Reported by Assaf Gordon. * modules/inttypes (Depends-on): Require extensions, so that mingw always uses GNU style inttypes. * lib/inttypes.in.h: On mingw, include <stdio.h>. Signed-off-by: Eric Blake <eblake@redhat.com>