[poppler] poppler/poppler-config.h.cmake poppler/poppler-config.h.in

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Jun 11 14:07:13 PDT 2013


 poppler/poppler-config.h.cmake |    2 +-
 poppler/poppler-config.h.in    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 99908cb0c8a784791ffa0682c8f105acdef0d5ab
Author: Peter Breitenlohner <peb at mppmu.mpg.de>
Date:   Tue Jun 11 10:02:01 2013 +0200

    MinGW32 may or may not define __MINGW_PRINTF_FORMAT
    
    Moreover __USE_MINGW_ANSI_STDIO might be defined as 0

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