]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/libgcc.h (__STDC_VERSION__): Define if it's not yet so
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 14:28:02 +0000 (15:28 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 29 Feb 2012 14:28:02 +0000 (15:28 +0100)
to avoid the warning.

ChangeLog
include/grub/libgcc.h

index 1a2d8cf0236301b6f63c40e30e77b7a02960abef..018b771ed0b76947c68f237edf414ece7b1073a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-29  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * include/grub/libgcc.h (__STDC_VERSION__): Define if it's not yet so
+       to avoid the warning.
+
 2012-02-29  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/boot/i386/pc/diskboot.S (firstlist): Rename to ...
index 7a433dc6804004f48be68beacbb392c76f67d3c2..956d639b9933388e608f7d1b47e512cb17f7d8ac 100644 (file)
@@ -17,6 +17,9 @@
  */
 
 /* We need to include config-util.h.in for HAVE_*.  */
+#ifndef __STDC_VERSION__
+#define __STDC_VERSION__ 0
+#endif
 #include <config-util.h>
 
 /* On x86 these functions aren't really needed. Save some space.  */