1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/inttypes
Eric Blake cc07f45b46 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>
2015-05-26 15:00:50 -06:00

24 lines
230 B
Plaintext

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