[poppler] [PATCH] MinGW32 may or may not define __MINGW_PRINTF_FORMAT

Albert Astals Cid aacid at kde.org
Tue Jun 11 14:06:25 PDT 2013


Pushed.

Albert

El Dimarts, 11 de juny de 2013, a les 10:02:01, Peter Breitenlohner va 
escriure:
> Moreover __USE_MINGW_ANSI_STDIO might be defined as 0
> 
> Signed-off-by: Peter Breitenlohner <peb at mppmu.mpg.de>
> ---
>  poppler/poppler-config.h.cmake | 2 +-
>  poppler/poppler-config.h.in    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/poppler/poppler-config.h.cmake b/poppler/poppler-config.h.cmake
> index af534c9..71a3278 100644
> --- a/poppler/poppler-config.h.cmake
> +++ b/poppler/poppler-config.h.cmake
> @@ -158,7 +158,7 @@ char * strtok_r (char *s, const char *delim, char
> **save_ptr);
> //------------------------------------------------------------------------
> 
>  #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
> -#ifdef __USE_MINGW_ANSI_STDIO
> +#ifdef __MINGW_PRINTF_FORMAT
>  #define GCC_PRINTF_FORMAT(fmt_index, va_index) \
>         __attribute__((__format__(__MINGW_PRINTF_FORMAT, fmt_index,
> va_index))) #else
> diff --git a/poppler/poppler-config.h.in b/poppler/poppler-config.h.in
> index 51705e8..c5e181c 100644
> --- a/poppler/poppler-config.h.in
> +++ b/poppler/poppler-config.h.in
> @@ -158,7 +158,7 @@ char * strtok_r (char *s, const char *delim, char
> **save_ptr);
> //------------------------------------------------------------------------
> 
>  #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
> -#ifdef __USE_MINGW_ANSI_STDIO
> +#ifdef __MINGW_PRINTF_FORMAT
>  #define GCC_PRINTF_FORMAT(fmt_index, va_index) \
>  	__attribute__((__format__(__MINGW_PRINTF_FORMAT, fmt_index, va_index)))
>  #else


More information about the poppler mailing list