Mercurial > gnulib
view modules/inttypes @ 17985:d8a42e2f0845
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>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Tue, 26 May 2015 15:00:50 -0600 |
parents | 94f2b4a2e01c |
children |
line wrap: on
line source
Description: An <inttypes.h> that nearly conforms to C99. Files: m4/inttypes-pri.m4 Depends-on: inttypes-incomplete extensions configure.ac: gl_INTTYPES_H Makefile.am: Include: <inttypes.h> License: LGPLv2+ Maintainer: all