From: Vladimir 'phcoder' Serbinenko Date: Wed, 29 Feb 2012 14:28:02 +0000 (+0100) Subject: * include/grub/libgcc.h (__STDC_VERSION__): Define if it's not yet so X-Git-Tag: 2.00~472 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97304d7c53072930e8a60718be760cb0f32bf9da;p=thirdparty%2Fgrub.git * include/grub/libgcc.h (__STDC_VERSION__): Define if it's not yet so to avoid the warning. --- diff --git a/ChangeLog b/ChangeLog index 1a2d8cf02..018b771ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-29 Vladimir Serbinenko + + * include/grub/libgcc.h (__STDC_VERSION__): Define if it's not yet so + to avoid the warning. + 2012-02-29 Vladimir Serbinenko * grub-core/boot/i386/pc/diskboot.S (firstlist): Rename to ... diff --git a/include/grub/libgcc.h b/include/grub/libgcc.h index 7a433dc68..956d639b9 100644 --- a/include/grub/libgcc.h +++ b/include/grub/libgcc.h @@ -17,6 +17,9 @@ */ /* We need to include config-util.h.in for HAVE_*. */ +#ifndef __STDC_VERSION__ +#define __STDC_VERSION__ 0 +#endif #include /* On x86 these functions aren't really needed. Save some space. */