Andrey Borzenkov 5ae584c0b0 fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h
In file included from util/misc.c:36:0:
./include/grub/emu/misc.h:56:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]
 char * EXPORT_FUNC(xasprintf) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))) WARN_UNUSED_RESULT;
 ^
./include/grub/emu/misc.h:58:1: error: 'libintl_printf' is an unrecognized format function type [-Werror=format=]

The reason is libintl.h which redefines printf as libintl_printf. The problem
is not present in native MinGW build which avoids redefinition.  Use
(format (__printf__) instead which is valid replacement in GCC.

v2: add grub-core/lib/libgcrypt/src/g10lib.h
v3: modify g10lib.h during import
2014-01-25 21:49:41 +04:00
..
2013-12-23 05:01:58 +01:00
2013-12-24 18:10:28 +01:00
2013-12-17 23:40:49 +01:00
2013-12-17 22:49:27 +01:00
2013-05-03 15:07:39 +02:00
2010-08-17 19:03:22 +05:30
2010-08-17 19:03:22 +05:30
2010-09-04 17:10:10 +02:00
2012-02-26 19:10:52 +01:00
2010-08-17 19:03:22 +05:30
2013-12-23 05:01:58 +01:00
2011-10-01 22:51:12 +02:00
2013-12-17 14:45:46 +01:00
2010-08-17 19:03:22 +05:30
2010-08-17 19:03:22 +05:30
2012-03-04 14:55:13 +01:00
2010-08-28 14:52:25 +02:00
2013-12-08 18:12:20 +01:00
2014-01-21 11:06:35 -02:00
2010-08-29 13:45:36 +02:00
2011-11-30 16:20:13 +01:00
2010-08-17 19:03:22 +05:30
2010-09-24 14:05:47 +02:00
2010-08-17 19:03:22 +05:30
2010-09-13 12:16:22 +02:00
2010-08-17 19:03:22 +05:30
2013-12-18 05:28:05 +01:00
2013-12-08 17:49:02 +01:00
2011-11-30 16:20:13 +01:00
2013-12-18 18:43:09 +01:00